Skip to content

Commit

Permalink
Alas, --extra_execution_platforms didn't help.
Browse files Browse the repository at this point in the history
Change-Id: I84064688f4a46aed413ffea82f017290fc3f7a54
Reviewed-on: https://code-review.googlesource.com/c/re2/+/62450
Reviewed-by: Perry Lorier <perryl@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
  • Loading branch information
junyer committed Jan 18, 2024
1 parent 70abe6b commit e6c83c9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,6 @@ def build_extension(self, ext):
cpu = os.environ['BAZEL_CPU']
cmd.append(f'--cpu={cpu}')
cmd.append(f'--platforms=//python:{cpu}')
if cpu == 'x64_x86_windows':
# Attempt to convince Bazel 7 that X64 can build for X86.
cmd.append('--extra_execution_platforms=//python:x64_windows')
except KeyError:
pass
# Register the local Python toolchain with highest priority.
Expand Down

0 comments on commit e6c83c9

Please sign in to comment.