Skip to content

Commit

Permalink
Older cibw for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeyers314 committed Feb 5, 2025
1 parent 798fa61 commit d35bed8
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
- uses: actions/setup-python@v5

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.22.0
run: python -m pip install cibuildwheel==2.16.5

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -89,13 +89,12 @@ jobs:
CIBW_BUILD_VERBOSITY: 3
CIBW_BEFORE_BUILD: >-
pip install -U pybind11-global &&
brew install llvm@12 libomp fftw eigen
brew install llvm libomp fftw eigen
CIBW_ENVIRONMENT: >-
CC=/usr/local/opt/llvm@12/bin/clang
CXX=/usr/local/opt/llvm@12/bin/clang++
LDFLAGS="-L/usr/local/opt/llvm@12/lib -Wl,-rpath,/usr/local/opt/llvm@12/lib"
CPPFLAGS="-I/usr/local/opt/llvm@12/include"
MACOSX_DEPLOYMENT_TARGET=11.0
CC=/usr/local/opt/llvm/bin/clang
CXX=/usr/local/opt/llvm/bin/clang++
LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"
CPPFLAGS="-I/usr/local/opt/llvm/include"
CIBW_BEFORE_TEST: pip install -U pytest pytest-timeout pytest-cov pytest-xdist
CIBW_TEST_COMMAND: pytest --skip_gha {package}/tests

Expand All @@ -115,7 +114,7 @@ jobs:
- uses: actions/setup-python@v5

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.22.0
run: python -m pip install cibuildwheel==2.16.5

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand All @@ -126,15 +125,14 @@ jobs:
CIBW_BUILD_VERBOSITY: 3
CIBW_BEFORE_BUILD: >-
pip install -U pybind11-global &&
brew install llvm@12 libomp fftw eigen
brew install llvm libomp fftw eigen
CIBW_ENVIRONMENT: >-
CC=/opt/homebrew/opt/llvm@12/bin/clang
CXX=/opt/homebrew/opt/llvm@12/bin/clang++
LDFLAGS="-L/opt/homebrew/opt/llvm@12/lib -Wl,-rpath,/opt/homebrew/opt/llvm@12/lib"
CPPFLAGS="-I/opt/homebrew/opt/llvm@12/include"
PATH="/opt/homebrew/opt/llvm@12/bin:$PATH"
CC=/opt/homebrew/opt/llvm/bin/clang
CXX=/opt/homebrew/opt/llvm/bin/clang++
LDFLAGS="-L/opt/homebrew/opt/llvm/lib -Wl,-rpath,/opt/homebrew/opt/llvm/lib"
CPPFLAGS="-I/opt/homebrew/opt/llvm/include"
PATH="/opt/homebrew/opt/llvm/bin:$PATH"
FFTW_DIR="/opt/homebrew"
MACOSX_DEPLOYMENT_TARGET=11.0
CIBW_BEFORE_TEST: pip install -U pytest pytest-timeout pytest-cov pytest-xdist
CIBW_TEST_COMMAND: pytest --skip_gha {package}/tests

Expand Down

0 comments on commit d35bed8

Please sign in to comment.