Skip to content

Commit

Permalink
Update wheels (#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcAntoineSchmidtQC authored Dec 6, 2024
1 parent 2d38703 commit dc5421c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @MarcAntoineSchmidtQC @jtilly @lbittarello
* @MarcAntoineSchmidtQC @jtilly @lbittarello @stanmart
6 changes: 3 additions & 3 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-2022]
os: [ubuntu-20.04, windows-2022, macos-13, macos-14]

steps:
- uses: actions/checkout@v4
- name: Set up micromamba
uses: mamba-org/setup-micromamba@06375d89d211a1232ef63355742e9e2e564bc7f7
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_ARCHS_MACOS: x86_64 arm64
- uses: actions/upload-artifact@v4
with:
path: ./wheelhouse/*.whl
Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,18 @@ skip = [
"cp36*",
"cp37*",
"cp38*",
"cp313-*",
]
test-requires = ["pytest", "pytest-xdist"]

[tool.cibuildwheel.macos]
before-build = [
"bash build_tools/prepare_macos_wheel.sh",
"/Users/runner/micromamba-bin/micromamba create -y -p $MAMBA_ROOT_PREFIX/envs/build -c conda-forge 'llvm-openmp=11'",
]

[tool.cibuildwheel.macos.environment]
LDFLAGS="-Wl,-rpath,$CONDA/envs/build/lib -L$CONDA/envs/build/lib"
CFLAGS="-I$CONDA/envs/build/include"
CXXFLAGS="-I$CONDA/envs/build/include"
LDFLAGS="-Wl,-rpath,$MAMBA_ROOT_PREFIX/envs/build/lib -L$MAMBA_ROOT_PREFIX/envs/build/lib"
CFLAGS="-I$MAMBA_ROOT_PREFIX/envs/build/include"
CXXFLAGS="-I$MAMBA_ROOT_PREFIX/envs/build/include"
CXX="/usr/bin/clang++"
CC="/usr/bin/clang"
MACOSX_DEPLOYMENT_TARGET="10.13"
Expand Down

0 comments on commit dc5421c

Please sign in to comment.