Remove platform information for x86

PiperOrigin-RevId: 522182423
This commit is contained in:
Sebastian Schmidt 2023-04-05 16:18:27 -07:00 committed by Copybara-Service
parent 065d750781
commit f67007d077

View File

@ -348,10 +348,7 @@ class BuildExtension(build_ext.build_ext):
for ext in self.extensions:
target_name = self.get_ext_fullpath(ext.name)
# Build x86
self._build_binary(
ext,
['--cpu=darwin_x86_64', '--ios_multi_cpus=i386,x86_64,armv7,arm64'],
)
self._build_binary(ext)
x86_name = self.get_ext_fullpath(ext.name)
# Build Arm64
ext.name = ext.name + '.arm64'