mirror of
https://github.com/google/re2.git
synced 2025-10-15 03:48:25 +08:00
Alas, --extra_execution_platforms
didn't help.
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>
This commit is contained in:
@@ -56,9 +56,6 @@ class BuildExt(setuptools.command.build_ext.build_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.
|
||||
|
Reference in New Issue
Block a user