Skip to content

Commit

Permalink
add llvm include path to flags
Browse files Browse the repository at this point in the history
  • Loading branch information
lkeegan committed Aug 14, 2023
1 parent a9ff543 commit 9ee41b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ fi

# export vars for duneopts script to read
export DUNE_COPASI_USE_STATIC_DEPS=ON
export BUILD_SHARED_LIBS=FALSE
export CMAKE_INSTALL_PREFIX=$DEPSDIR
export MAKE_OPTIONS="-j2 VERBOSE=1"
export CMAKE_CXX_FLAGS="'-fvisibility=hidden -D_GLIBCXX_USE_TBB_PAR_BACKEND=0 -L/usr/local/opt/llvm/lib/c++ -static-libstdc++'"
export CMAKE_CXX_FLAGS="'-I/usr/local/opt/llvm/include -L/usr/local/opt/llvm/lib -fvisibility=hidden -D_GLIBCXX_USE_TBB_PAR_BACKEND=0 -L/usr/local/opt/llvm/lib/c++ -static-libstdc++'"
export DUNE_PDELAB_ENABLE_TRACING=OFF
export DUNE_COPASI_USE_PARAFIELDS=OFF
export CMAKE_DISABLE_FIND_PACKAGE_MPI=ON
export CC=/usr/local/opt/llvm/bin/clang
export CXX=/usr/local/opt/llvm/bin/clang++
if [[ $MSYSTEM ]]; then
Expand Down

0 comments on commit 9ee41b2

Please sign in to comment.