mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 17:44:08 +00:00
distinguish vs-arch from arch identifier
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d743e1b47c
commit
446a9dec08
|
@ -195,12 +195,13 @@ def mk_build_dir(arch):
|
|||
build_path = get_build_dir(arch)
|
||||
if not check_build_dir(build_path) or FORCE_MK:
|
||||
mk_dir(build_path)
|
||||
vsarch = arc
|
||||
if arch == "arm64":
|
||||
arch = "amd64_arm64"
|
||||
vsarch = "amd64_arm64"
|
||||
|
||||
cmds = []
|
||||
cmds.append(f"cd {build_path}")
|
||||
cmds.append('call "%VCINSTALLDIR%Auxiliary\\build\\vcvarsall.bat" ' + arch)
|
||||
cmds.append('call "%VCINSTALLDIR%Auxiliary\\build\\vcvarsall.bat" ' + vsarch)
|
||||
cmd = []
|
||||
cmd.append("cmake -S .")
|
||||
if DOTNET_CORE_ENABLED:
|
||||
|
|
Loading…
Reference in a new issue