Skip to content

Commit

Permalink
clean up Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuangfeiwang committed Jun 14, 2024
1 parent c2ef158 commit 3ea3f28
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions ACTio-ReACTio/pyreact/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ WRAPPER_LIB = libreact_wrapper.so

CFLAGS += -fPIC
CXXFLAGS += -Wall -fPIC -std=c++11
#LDFLAGS += -lgsl -lgslcblas -lsundials_cvode -lsundials_nvecserial
LDFLAGS += -lgsl -lgslcblas -lsundials_cvode -lsundials_nvecserial

LDFLAGS +=
CPPFLAGS +=

LDFLAGS = -L/home/zavier/.local/easybuild/software/2020/avx2/MPI/gcc9/openmpi4/sundials/4.1.0/lib64 -lgsl -lgslcblas -lsundials_cvode -lsundials_nvecserial
CPPFLAGS = -I/home/zavier/.local/easybuild/software/2020/avx2/MPI/gcc9/openmpi4/sundials/4.1.0/include
CC=gcc
CXX=g++

# clang uses a different libstdc++ than GCC. Also remove OpenMP when using clang
ifneq (,$(findstring clang,$(shell '$(CXX)' -v 2>&1)))
Expand Down

0 comments on commit 3ea3f28

Please sign in to comment.