mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 20:18:18 +00:00
nightly osx arm64 wheel
This commit is contained in:
parent
d6d9b25c68
commit
c98eda03f7
|
@ -399,7 +399,12 @@ stages:
|
||||||
inputs:
|
inputs:
|
||||||
artifactName: 'Mac'
|
artifactName: 'Mac'
|
||||||
targetPath: $(Agent.TempDirectory)
|
targetPath: $(Agent.TempDirectory)
|
||||||
- script: cd $(Agent.TempDirectory); mkdir osx-bin; cd osx-bin; unzip ../*osx*.zip
|
- task: DownloadPipelineArtifact@2
|
||||||
|
inputs:
|
||||||
|
artifactName: 'MacArm64'
|
||||||
|
targetPath: $(Agent.TempDirectory)
|
||||||
|
- script: cd $(Agent.TempDirectory); mkdir osx-x64-bin; cd osx-x64-bin; unzip ../*osx*x64.zip
|
||||||
|
- script: cd $(Agent.TempDirectory); mkdir osx-arm64-bin; cd osx-arm64-bin; unzip ../*osx*arm64.zip
|
||||||
- script: cd $(Agent.TempDirectory); mkdir linux-bin; cd linux-bin; unzip ../*glibc*.zip
|
- script: cd $(Agent.TempDirectory); mkdir linux-bin; cd linux-bin; unzip ../*glibc*.zip
|
||||||
- script: cd $(Agent.TempDirectory); mkdir win32-bin; cd win32-bin; unzip ../*x86-win*.zip
|
- script: cd $(Agent.TempDirectory); mkdir win32-bin; cd win32-bin; unzip ../*x86-win*.zip
|
||||||
- script: cd $(Agent.TempDirectory); mkdir win64-bin; cd win64-bin; unzip ../*x64-win*.zip
|
- script: cd $(Agent.TempDirectory); mkdir win64-bin; cd win64-bin; unzip ../*x64-win*.zip
|
||||||
|
@ -409,7 +414,8 @@ stages:
|
||||||
- script: cd src/api/python; echo $(Agent.TempDirectory)/linux-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
- script: cd src/api/python; echo $(Agent.TempDirectory)/linux-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
||||||
- 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
|
- 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
|
||||||
- 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
|
- 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
|
||||||
- script: cd src/api/python; echo $(Agent.TempDirectory)/osx-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
- script: cd src/api/python; echo $(Agent.TempDirectory)/osx-x64-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
||||||
|
- script: cd src/api/python; echo $(Agent.TempDirectory)/osx-arm64-bin/* | xargs printf 'PACKAGE_FROM_RELEASE=%s\n' | xargs -I '{}' env '{}' python3 setup.py bdist_wheel
|
||||||
- task: PublishPipelineArtifact@0
|
- task: PublishPipelineArtifact@0
|
||||||
inputs:
|
inputs:
|
||||||
artifactName: 'Python packages'
|
artifactName: 'Python packages'
|
||||||
|
|
|
@ -281,6 +281,8 @@ if 'bdist_wheel' in sys.argv and '--plat-name' not in sys.argv:
|
||||||
osver = '.'.join(osver.split('.')[:2])
|
osver = '.'.join(osver.split('.')[:2])
|
||||||
if arch == 'x64':
|
if arch == 'x64':
|
||||||
plat_name ='macosx_%s_x86_64' % osver.replace('.', '_')
|
plat_name ='macosx_%s_x86_64' % osver.replace('.', '_')
|
||||||
|
elif arc == 'arm64':
|
||||||
|
plat_name ='macosx_%s_arm64' % osver.replace('.', '_')
|
||||||
else:
|
else:
|
||||||
raise Exception(f"idk how os {distos} {osver} works. what goes here?")
|
raise Exception(f"idk how os {distos} {osver} works. what goes here?")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue