3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

update java install/build

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2024-01-25 15:05:33 -08:00
parent 637ffcd491
commit c8c2e3a7b7
2 changed files with 10 additions and 8 deletions

View file

@ -190,6 +190,8 @@ def mk_build_dir(arch):
if JAVA_ENABLED:
cmd.append(' -DZ3_BUILD_JAVA_BINDINGS=ON')
cmd.append(' -DZ3_INSTALL_JAVA_BINDINGS=ON')
cmd.append(' -DZ3_JAVA_JAR_INSTALLDIR=java')
cmd.append(' -DZ3_JAVA_JNI_LIB_INSTALLDIR=java')
if PYTHON_ENABLED:
cmd.append(' -DZ3_BUILD_PYTHON_BINDINGS=ON')
cmd.append(' -DZ3_INSTALL_PYTHON_BINDINGS=ON')
@ -252,11 +254,11 @@ def mk_z3(arch):
if arch == "arm64":
arch = "x64_arm64"
cmds = []
cmds.append('call "%VCINSTALLDIR%Auxiliary\\build\\vcvarsall.bat" ' + arch + ' ')
cmds.append('call "%VCINSTALLDIR%Auxiliary\\build\\vcvarsall.bat" ' + arch)
cmds.append('cd %s' % build_dir)
cmds.append('nmake install')
if exec_cmds(cmds) != 0:
raise MKException("Failed to make z3, x64: %s" % x64)
raise MKException("Failed to make z3"))
def mk_z3s():
global ARCHS

View file

@ -169,7 +169,7 @@ stages:
--zip
- task: CopyFiles@2
inputs:
sourceFolder: dist
sourceFolder: build-dist/x86/dist
contents: '*.zip'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishPipelineArtifact@1
@ -179,7 +179,7 @@ stages:
- task: CopyFiles@2
displayName: 'Collect Symbols'
inputs:
sourceFolder: dist
sourceFolder: build-dist/x86/dist
contents: '**/*.pdb'
targetFolder: '$(Build.ArtifactStagingDirectory)/symbols'
# Publish symbol archive to match nuget package
@ -209,7 +209,7 @@ stages:
--zip
- task: CopyFiles@2
inputs:
sourceFolder: dist
sourceFolder: build-dist/x64/dist
contents: '*.zip'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishPipelineArtifact@1
@ -219,7 +219,7 @@ stages:
- task: CopyFiles@2
displayName: 'Collect Symbols'
inputs:
sourceFolder: dist
sourceFolder: build-dist/x64/dist
contents: '**/*.pdb'
targetFolder: '$(Build.ArtifactStagingDirectory)/symbols'
# Publish symbol archive to match nuget package
@ -249,7 +249,7 @@ stages:
--zip
- task: CopyFiles@2
inputs:
sourceFolder: dist
sourceFolder: build-dist/arm64/dist
contents: '*.zip'
targetFolder: $(Build.ArtifactStagingDirectory)
- task: PublishPipelineArtifact@1
@ -259,7 +259,7 @@ stages:
- task: CopyFiles@2
displayName: 'Collect Symbols'
inputs:
sourceFolder: dist
sourceFolder: build-dist/arm64/dist
contents: '**/*.pdb'
targetFolder: '$(Build.ArtifactStagingDirectory)/symbols'
# Publish symbol archive to match nuget package