File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -196,8 +196,21 @@ jobs:
196
196
shell : bash
197
197
run : |
198
198
brew install ispc
199
- #brew install llvm
200
- #export PATH="/usr/local/opt/llvm/bin:$PATH"
199
+
200
+ # We make conan believe we use apple-clang (see profiles), but
201
+ # actually we use recent version of llvm, to get full compatibility
202
+ # with C++20
203
+ brew install llvm@20
204
+
205
+ LLVM_PREFIX=$(brew --prefix llvm@20)
206
+ echo "PATH=$LLVM_PREFIX/bin:$PATH" >> $GITHUB_ENV
207
+ echo "CC=clang" >> $GITHUB_ENV
208
+ echo "CXX=clang++" >> $GITHUB_ENV
209
+ echo "AR=llvm-ar" >> $GITHUB_ENV
210
+ echo "RANLIB=llvm-ranlib" >> $GITHUB_ENV
211
+ echo "LD=ld.lld" >> $GITHUB_ENV
212
+ echo "DYLD_LIBRARY_PATH=$LLVM_PREFIX/lib:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
213
+ export PATH="/usr/local/opt/llvm/bin:$PATH"
201
214
202
215
bash ${{ env.WORKSPACE }}/install-conan.sh
203
216
Original file line number Diff line number Diff line change @@ -9,6 +9,11 @@ compiler.version=14.0
9
9
compiler.cppstd={{ os.getenv("CXX_VERSION") }}
10
10
compiler.libcxx=libc++
11
11
12
+ spdlog/*:compiler=clang
13
+ spdlog/*:compiler.version=20
14
+ spdlog/*:compiler.cppstd={{ os.getenv("CXX_VERSION") }}
15
+ spdlog/*:compiler.libcxx=libc++
16
+
12
17
[options]
13
18
minizip-ng/*:with_zlib=True
14
19
minizip-ng/*:with_libcomp=False
You can’t perform that action at this time.
0 commit comments