Skip to content

Commit

Permalink
explain
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Dec 9, 2024
1 parent d33ecb8 commit a7056f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ jobs:
uses: pypa/cibuildwheel@v2.21.3
env:
CIBW_ENVIRONMENT_PASS_LINUX: ${{ inputs.unoptimized && 'UNOPTIMIZED' || '' }}
# We use delocate to repair the wheel because it verifies that the macOS version tag in the wheel name is correct
# Linking the static libraries produces a warning that the library version is newer than the wheel's macOS version tag
# but it doesn't throw an error.
# macOS wheel is only backwards compatible with the macOS major version it is built from
# Use single dash for backwards compatibility with older sw_vers
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=$(sw_vers -productVersion | cut -d"." -f 1).0
Expand Down

0 comments on commit a7056f8

Please sign in to comment.