Skip to content

Commit

Permalink
[CI] Fix TRIQS compilation on macOS-12 / Clang 17
Browse files Browse the repository at this point in the history
  • Loading branch information
krivenko committed May 13, 2024
1 parent c6b74cf commit 8cbac9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,15 @@ jobs:
run: |
git clone https://github.com/TRIQS/triqs --branch 3.2.x
mkdir triqs/build && pushd triqs/build
if [[ "${{ matrix.os }}" == macos* &&
"${{ matrix.cxx }}" == *clang++ ]]; then
LC="-DLIBCLANG_LOCATION=/usr/local/opt/llvm@17/lib/libclang.dylib"
fi
cmake .. \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX=$HOME/install \
-DBoost_INCLUDE_DIR=$HOME/boost \
${LC} \
-DBuild_Tests=OFF
make -j2 install VERBOSE=1
popd
Expand Down

0 comments on commit 8cbac9d

Please sign in to comment.