Skip to content

Commit

Permalink
Explicitly set MACOSX_DEPLOYMENT_TARGET when building wheels
Browse files Browse the repository at this point in the history
delocate now checks it more explictly
  • Loading branch information
Luthaf committed Dec 3, 2024
1 parent 434b488 commit eb502fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,12 @@ jobs:
CIBW_BUILD: cp310-*
CIBW_SKIP: "*musllinux*"
CIBW_ARCHS: ${{ matrix.cibw_arch }}
CIBW_BUILD_VERBOSITY: 2
CIBW_BUILD_VERBOSITY: 1
CIBW_MANYLINUX_X86_64_IMAGE: rustc-manylinux2014_x86_64
CIBW_REPAIR_WHEEL_COMMAND_MACOS: "delocate-wheel --ignore-missing-dependencies --require-archs {delocate_archs} -w {dest_dir} -v {wheel}"
CIBW_REPAIR_WHEEL_COMMAND_LINUX: "auditwheel repair --exclude libmetatensor.so -w {dest_dir} {wheel}"
CIBW_ENVIRONMENT: >
MACOSX_DEPLOYMENT_TARGET=11
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit eb502fd

Please sign in to comment.