-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d33ecb8
commit a7056f8
Showing
1 changed file
with
3 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -262,6 +262,9 @@ jobs: | |
uses: pypa/[email protected] | ||
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 | ||
|