Skip to content

Commit

Permalink
update Makefile with CC flags
Browse files Browse the repository at this point in the history
  • Loading branch information
egluckthaler committed Dec 18, 2023
1 parent c97967f commit 91fb99f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions CNEFinder/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
MF= Makefile

CC= x86_64-conda-linux-gnu-g++

CFLAGS= -g -fopenmp -D_USE_OMP -msse4.2 -O3 -fomit-frame-pointer -funroll-loops

LFLAGS= -std=c++11 -I ./
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# compile CNEFinder
cd $SRC_DIR/CNEFinder/
./pre-install.sh
make -f Makefile
make -f Makefile CC=$PREFIX/bin/x86_64-conda-linux-gnu-gcc CXX=$PREFIX/bin/x86_64-conda-linux-gnu-g++
mv cnef ../bin/

# copy git directory structure to conda package location
Expand Down

0 comments on commit 91fb99f

Please sign in to comment.