Skip to content

Commit

Permalink
Merge pull request #4 from SebMilardo/mac-os-test
Browse files Browse the repository at this point in the history
Use LLVM@18
  • Loading branch information
SebMilardo authored Jul 2, 2024
2 parents 818a6dd + 1cd7911 commit a9c09b6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,20 @@ jobs:
with:
platforms: all

- name: Install llvm@18
if: matrix.platform == 'macos-intel' || matrix.platform == 'macos-arm'
run: |
brew install llvm@18
echo "$(brew --prefix)/opt/llvm/bin" >> $GITHUB_PATH
echo "LDFLAGS=-L$(brew --prefix)/opt/llvm/lib -L$(brew --prefix)/opt/llvm/lib/c++ -L/opt/homebrew/lib -Wl,-rpath,$(brew --prefix)/opt/llvm/lib/c++" >> "$GITHUB_ENV"
echo "CPPFLAGS=-I$(brew --prefix)/opt/llvm/include -I/opt/homebrew/include -fexperimental-library" >> "$GITHUB_ENV"
echo "CC=clang" >> "$GITHUB_ENV"
echo "CXX=clang++" >> "$GITHUB_ENV"
echo "OBJC=clang" >> "$GITHUB_ENV"
echo "CC_LD=lld" >> "$GITHUB_ENV"
echo "CXX_LD=lld" >> "$GITHUB_ENV"
echo "OBJC_LD=lld" >> "$GITHUB_ENV"
- name: Build wheels
if: matrix.platform != 'macos-arm'
uses: pypa/cibuildwheel@v2.19.1
Expand Down

0 comments on commit a9c09b6

Please sign in to comment.