Skip to content

Commit

Permalink
Force a specific target version of macOS.
Browse files Browse the repository at this point in the history
Otherwise, `delocate` renames the wheels!

Change-Id: I03bf330332a1586deed0519b7983b1a29574ec64
Reviewed-on: https://code-review.googlesource.com/c/re2/+/62911
Reviewed-by: Jeff Bailey <jeffbailey@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
  • Loading branch information
junyer committed Mar 28, 2024
1 parent c0f9f17 commit 553f6df
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ jobs:
BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BAZEL_CPU: darwin_${{ matrix.arch.bazel-name }}
PLAT_NAME: macosx-${{ matrix.os }}.0-${{ matrix.arch.python-name }}
# Force a specific target version of macOS.
# Otherwise, `delocate` renames the wheels!
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os }}.0
# Stop macOS from reporting the system version as 10.x.
# Otherwise, Python refuses to install the built wheel!
SYSTEM_VERSION_COMPAT: 0
Expand Down

0 comments on commit 553f6df

Please sign in to comment.