File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed
Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 1919 version :
2020 - ' 1.10'
2121 os :
22- # - ubuntu-latest
23- - ubuntu-22.04
22+ - ubuntu-latest
2423# - macOS-latest
2524 arch :
2625 - x64
Original file line number Diff line number Diff line change 2020 - ' 1.10'
2121 os :
2222# - ubuntu-latest
23- # - macOS-latest
24- - macos-13
23+ - macOS-latest
2524 arch :
2625 - x64
2726 steps :
3231 run : |
3332 if [ "$RUNNER_OS" = Linux ]; then
3433 sudo apt-get install clang-13 libclang-13-dev
35- #else #MacOS
36- # #brew install llvm@13 #llvm@13 no more supported by brew
37- # wget "https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-13.0.1.tar.gz"
38- # tar xzf llvmorg-13.0.1.tar.gz
39- # rm llvmorg-13.0.1.tar.gz
40- # export CMAKE_INSTALL_MODE=SYMLINK #use symlinks to reduce disk space usage
41- # cmake -S llvm-project-llvmorg-13.0.1/llvm -B llvm-build -DCMAKE_INSTALL_PREFIX=`pwd`/clang-13 -DLLVM_ENABLE_PROJECTS="clang" -DBUILD_SHARED_LIBS=on -DLLVM_BUILD_LLVM_DYLIB=on -DCMAKE_BUILD_TYPE=Release
42- # cmake --build llvm-build --verbose -j `sysctl -n hw.logicalcpu`
43- # cmake --install llvm-build
34+ else #MacOS
35+ brew install llvm@13
4436 fi
4537 - uses : julia-actions/setup-julia@latest
4638 with :
5951 cmake -DClang_DIR=/usr/lib/llvm-13/lib/cmake/clang -DCMAKE_INSTALL_PREFIX="$PWD" -B build -S .
6052 cmake --build build --verbose -j `nproc`
6153 else
62- cmake -DBUILD_LLVM=ON -DCMAKE_INSTALL_PREFIX="$PWD" -B build -S .
54+ cmake -DClang_DIR=/opt/homebrew/opt/llvm@13/lib/cmake/clang -B build -S .
6355 cmake --build build --verbose -j `sysctl -n hw.logicalcpu`
6456 fi
6557 cmake --install build
You can’t perform that action at this time.
0 commit comments