mirror of
https://github.com/Z3Prover/z3
synced 2025-07-22 20:32:05 +00:00
update java install/build
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
637ffcd491
commit
c8c2e3a7b7
2 changed files with 10 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue