Skip to content

Commit 7694bca

Browse files
authored
For many linux build, use aarch64 instead of arm64 (#7147)
1 parent 77a07bb commit 7694bca

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

scripts/nightly.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ stages:
194194
artifactName: 'ManyLinuxBuild'
195195
targetPath: $(Build.ArtifactStagingDirectory)
196196

197-
- job: LinuxBuildsArm64
198-
displayName: "ManyLinux ARM64 build"
197+
- job: LinuxBuildsAarch64
198+
displayName: "ManyLinux AARCH64 build"
199199
variables:
200200
name: ManyLinux
201201
python: "/opt/python/cp37-cp37m/bin/python"
@@ -208,7 +208,7 @@ stages:
208208
inputs:
209209
scriptSource: 'filepath'
210210
scriptPath: scripts/mk_unix_dist.py
211-
arguments: --nodotnet --nojava --arch=arm64
211+
arguments: --nodotnet --nojava --arch=aarch64
212212
pythonInterpreter: $(python)
213213
- script: git clone https://github.com/z3prover/z3test z3test
214214
displayName: 'Clone z3test'
@@ -226,7 +226,7 @@ stages:
226226
targetFolder: $(Build.ArtifactStagingDirectory)
227227
- task: PublishPipelineArtifact@0
228228
inputs:
229-
artifactName: 'ManyLinuxBuildArm64'
229+
artifactName: 'ManyLinuxBuildAarch64'
230230
targetPath: $(Build.ArtifactStagingDirectory)
231231

232232
- template: build-win-signed.yml
@@ -496,7 +496,7 @@ stages:
496496
targetPath: $(Agent.TempDirectory)
497497
- task: DownloadPipelineArtifact@2
498498
inputs:
499-
artifactName: 'ManyLinuxBuildArm64'
499+
artifactName: 'ManyLinuxBuildAarch64'
500500
targetPath: $(Agent.TempDirectory)
501501
- task: DownloadPipelineArtifact@2
502502
inputs:
@@ -509,15 +509,15 @@ stages:
509509
- script: cd $(Agent.TempDirectory); mkdir osx-x64-bin; cd osx-x64-bin; unzip ../*x64-osx*.zip
510510
- script: cd $(Agent.TempDirectory); mkdir osx-arm64-bin; cd osx-arm64-bin; unzip ../*arm64-osx*.zip
511511
- script: cd $(Agent.TempDirectory); mkdir libc-x64-bin; cd libc-x64-bin; unzip ../*x64-glibc*.zip
512-
- script: cd $(Agent.TempDirectory); mkdir libc-arm64-bin; cd libc-arm64-bin; unzip ../*arm64-glibc*.zip
512+
- script: cd $(Agent.TempDirectory); mkdir libc-aarch64-bin; cd libc-aarch64-bin; unzip ../*aarch64-glibc*.zip
513513
# - script: cd $(Agent.TempDirectory); mkdir musl-bin; cd musl-bin; unzip ../*-linux.zip
514514
- script: cd $(Agent.TempDirectory); mkdir win32-bin; cd win32-bin; unzip ../*x86-win*.zip
515515
- script: cd $(Agent.TempDirectory); mkdir win64-bin; cd win64-bin; unzip ../*x64-win*.zip
516516
- script: python3 -m pip install --user -U setuptools wheel
517517
- script: cd src/api/python; python3 setup.py sdist
518518
# take a look at this PREMIUM HACK I came up with to get around the fact that the azure variable syntax overloads the bash syntax for subshells
519519
- script: cd src/api/python; echo $(Agent.TempDirectory)/libc-x64-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
520-
- script: cd src/api/python; echo $(Agent.TempDirectory)/libc-arm64-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
520+
- script: cd src/api/python; echo $(Agent.TempDirectory)/libc-aarch64-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
521521
# - script: cd src/api/python; echo $(Agent.TempDirectory)/musl-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
522522
- script: cd src/api/python; echo $(Agent.TempDirectory)/win32-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
523523
- script: cd src/api/python; echo $(Agent.TempDirectory)/win64-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel

src/api/python/setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ def run(self):
297297
elif distos == 'glibc':
298298
if arch == 'x64':
299299
plat_name = 'manylinux2014_x86_64'
300-
elif arch == 'arm64':
301-
plat_name = 'manylinux2014_arm64'
300+
elif arch == 'aarch64':
301+
plat_name = 'manylinux2014_aarch64'
302302
else:
303303
plat_name = 'manylinux2014_i686'
304304
elif distos == 'linux' and os_id == 'alpine':

0 commit comments

Comments
 (0)