Skip to content

Commit

Permalink
update clang build on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
admercs committed Apr 24, 2024
1 parent 24a644a commit 4ab5856
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ elif [ "$(uname)" = 'Linux' ]; then
export CC="clang-${CLANG_VERSION}"
export CXX="clang++-${CLANG_VERSION}"
CMAKE_VARS="-DCXX_STANDARD=c++${CXX_STANDARD} -DCMAKE_CXX_FLAGS=-stdlib=libc++"
export CPLUS_INCLUDE_PATH="/usr/include/c++/${CLANG_VERSION}:/usr/include/x86_64-linux-gnu/c++/${CLANG_VERSION}"
fi
else
echo 'ERROR: This build script only supports Linux and MacOS.'
Expand Down

0 comments on commit 4ab5856

Please sign in to comment.