Skip to content

Commit

Permalink
update java install/build
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Jan 25, 2024
1 parent 637ffcd commit c8c2e3a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions scripts/mk_win_dist_cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions scripts/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c8c2e3a

Please sign in to comment.