Remove platform information for x86
PiperOrigin-RevId: 522182423
This commit is contained in:
parent
065d750781
commit
f67007d077
5
setup.py
5
setup.py
|
@ -348,10 +348,7 @@ class BuildExtension(build_ext.build_ext):
|
||||||
for ext in self.extensions:
|
for ext in self.extensions:
|
||||||
target_name = self.get_ext_fullpath(ext.name)
|
target_name = self.get_ext_fullpath(ext.name)
|
||||||
# Build x86
|
# Build x86
|
||||||
self._build_binary(
|
self._build_binary(ext)
|
||||||
ext,
|
|
||||||
['--cpu=darwin_x86_64', '--ios_multi_cpus=i386,x86_64,armv7,arm64'],
|
|
||||||
)
|
|
||||||
x86_name = self.get_ext_fullpath(ext.name)
|
x86_name = self.get_ext_fullpath(ext.name)
|
||||||
# Build Arm64
|
# Build Arm64
|
||||||
ext.name = ext.name + '.arm64'
|
ext.name = ext.name + '.arm64'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user