Skip to content

Commit

Permalink
macos openmp
Browse files Browse the repository at this point in the history
  • Loading branch information
jmeyers314 committed Apr 29, 2024
1 parent dffb9cc commit 20cd2f0
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/wheeltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,16 @@ jobs:
env:
CIBW_ARCHS: "x86_64"
CIBW_BUILD: "*macosx*"
# CIBW_SKIP: cp36* cp37* pp*
CIBW_SKIP: cp36* cp37* cp38* cp39* cp310* cp311* pp*
CIBW_BUILD_VERBOSITY: 3
CIBW_BEFORE_BUILD: pip install -U pybind11-global && brew install libomp fftw eigen
CIBW_BEFORE_BUILD: >-
pip install -U pybind11-global
brew install llvm libomp fftw eigen
CIBW_ENVIRONMENT: >-
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 @@ -112,12 +118,19 @@ jobs:
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_ARCHS: "aarch64"
CIBW_ARCHS: "arm64"
CIBW_BUILD: "*macosx*"
# CIBW_SKIP: cp36* cp37* pp*
CIBW_SKIP: cp36* cp37* cp38* cp39* cp310* cp311* pp*
CIBW_BUILD_VERBOSITY: 3
CIBW_BEFORE_BUILD: pip install -U pybind11-global && brew install libomp fftw eigen
CIBW_BEFORE_BUILD: >-
pip install -U pybind11-global
brew install llvm libomp fftw eigen
CIBW_ENVIRONMENT: >-
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 Down

0 comments on commit 20cd2f0

Please sign in to comment.