Skip to content

Commit

Permalink
distinguish vs-arch from arch identifier
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Feb 5, 2024
1 parent d743e1b commit 446a9de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/mk_win_dist_cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 446a9de

Please sign in to comment.