Skip to content

Commit

Permalink
this works also on my test computer
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesDuvert committed Aug 30, 2024
1 parent 9ed0082 commit 81b406d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/build_gdl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -447,10 +447,14 @@ function configure_gdl {
if [[ ${BUILD_OS} == "macOS" ]]; then
if [[ ${Platform} == "arm64" ]]; then
export LIBRARY_PATH=$LIBRARY_PATH:/opt/homebrew/opt/llvm/lib
CMAKE_ADDITIONAL_ARGS=( "-DMPI=OFF -DREADLINEDIR=/opt/homebrew/opt/readline")
CMAKE_ADDITIONAL_ARGS=( "-DMPI=OFF -DREADLINEDIR=/opt/homebrew/opt/readline"
"-DCMAKE_CXX_COMPILER=/usr/bin/clang++"
"-DCMAKE_C_COMPILER=/usr/bin/clang" )
else
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/llvm/lib
CMAKE_ADDITIONAL_ARGS=( "-DMPI=OFF -DREADLINEDIR=/usr/local/opt/readline")
CMAKE_ADDITIONAL_ARGS=( "-DMPI=OFF -DREADLINEDIR=/usr/local/opt/readline"
"-DCMAKE_CXX_COMPILER=/usr/bin/clang++"
"-DCMAKE_C_COMPILER=/usr/bin/clang" )
fi
fi

Expand Down

0 comments on commit 81b406d

Please sign in to comment.