Skip to content

Commit ec2af5d

Browse files
committed
Modification of Makefile because of build issues
Building "github_binaries" target had issues with /usr/bin/g++ which we had changed to in order to remove some hard-coded paths from the binaries in the default g++. Possibly we should prepare binaries in a container or using GitHub actions.
1 parent 408ed6d commit ec2af5d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,14 @@ github_binaries:
183183
# first recompile amrfinder.o to pick up the new version info
184184
# and remove leaky NCBI paths
185185
make clean
186-
make all CXX=/usr/bin/g++ LD_RUN_PATH=
186+
# make all CXX=/usr/bin/g++ LD_RUN_PATH=
187+
make all LD_RUN_PATH=
187188
mkdir $(GITHUB_FILE)
188189
echo $(VERSION_STRING) > $(GITHUB_FILE)/version.txt
189190
cp $(GITHUB_FILES) $(GITHUB_FILE)
190-
make -C stx
191-
make -C stx install INSTALL_DIR=../$(GITHUB_FILE)/stx CXX=/usr/bin/g++ LD_RUN_PATH=
191+
# make -C stx
192+
# make -C stx install INSTALL_DIR=../$(GITHUB_FILE)/stx CXX=/usr/bin/g++ LD_RUN_PATH=
193+
make -C stx install INSTALL_DIR=../$(GITHUB_FILE)/stx LD_RUN_PATH=
192194
cp stx/test_stxtyper.sh stx/version.txt $(GITHUB_FILE)/stx
193195
mkdir $(GITHUB_FILE)/stx/test
194196
cp -R stx/test/*.fa stx/test/*.expected $(GITHUB_FILE)/stx/test

0 commit comments

Comments
 (0)