Skip to content

Commit

Permalink
Fix MacOS build to stay on LLVM 15, not 16
Browse files Browse the repository at this point in the history
  • Loading branch information
thoughtafter committed May 13, 2023
1 parent bfb4b18 commit e244295
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
if: matrix.os == 'macos'
run: |
brew install llvm@15
echo "$(brew --prefix llvm)/bin" >> $GITHUB_PATH
sudo mkdir -p /opt/local/
sudo ln -s $(brew --prefix llvm)/lib /opt/local/lib
echo "$(brew --prefix llvm@15)/bin" >> $GITHUB_PATH
sudo mkdir -pv /opt/local/
sudo ln -sv $(brew --prefix llvm@15)/lib /opt/local/lib
# ffi will only look for files in a small set of directories, so llvm needs to be there
# https://github.com/ffi/ffi/blob/master/lib/ffi/dynamic_library.rb#L33
# /usr/lib /usr/local/lib /opt/local/lib /opt/homebrew/lib
Expand All @@ -33,9 +33,9 @@ jobs:
run: |
echo $(llvm-config --ldflags)
echo $(brew --repository)
echo $(brew --prefix llvm)
ls -l /usr/local/Cellar/llvm/15.*/lib/libLLVM.dylib
ls -l $(brew --prefix llvm)/lib/libLLVM.dylib
echo $(brew --prefix llvm@15)
ls -l /usr/local/Cellar/llvm@15/15.*/lib/libLLVM.dylib
ls -l $(brew --prefix llvm@15)/lib/libLLVM.dylib
ls -l /opt/local/lib/libLLVM.dylib
- name: Install LLVM on ubuntu
if: matrix.os == 'ubuntu'
Expand Down

0 comments on commit e244295

Please sign in to comment.