Skip to content

Commit

Permalink
nccopy has an out-of-app rpath; since we don't need it, exclude it fr…
Browse files Browse the repository at this point in the history
…om rsync
  • Loading branch information
e-pettersen committed Oct 29, 2024
1 parent 241e6c3 commit ec84bd2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions prereqs/ambertools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,12 @@ install: $(SOURCE)

app-install: install
-mkdir -p $(AMBERBIN_DST) $(AMBERDAT_ANTECHAMBER_DST) $(AMBERDAT_PARM_DST)
$(RSYNC) $(AMBERBIN_SRC)/* --exclude wrapped_progs $(AMBERBIN_DST)
# nccopy has an out-of-app rpath, so instead of doing a bunch of fancy massaging, just
# exclude it since we don't need it
$(RSYNC) $(AMBERBIN_SRC)/* --exclude wrapped_progs --exclude nccopy $(AMBERBIN_DST)
# Some executables live directly in bin, but many are shell scripts whose
# executables are in the "wrapped_progs" subdir; overwrite those...
$(RSYNC) $(AMBERBIN_SRC)/wrapped_progs/* $(AMBERBIN_DST)
$(RSYNC) $(AMBERBIN_SRC)/wrapped_progs/* --exclude nccopy $(AMBERBIN_DST)
$(RSYNC) $(AMBERDAT_ANTECHAMBER_SRC)/* $(AMBERDAT_ANTECHAMBER_DST)
$(RSYNC) $(AMBERDAT_PARM_SRC)/gaff2.dat $(AMBERDAT_PARM_DST)
$(RSYNC) $(AMBERLIB_SRC)/*.$(SHLIB_EXT) $(app_libdir)
Expand Down

0 comments on commit ec84bd2

Please sign in to comment.