Skip to content

Commit a39cb36

Browse files
committed
Stuck w/ Ninja
1 parent e62fc09 commit a39cb36

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

aws-lc-sys/builder/cmake_builder.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,17 @@ impl CmakeBuilder {
146146
cmake_cfg.define("CMAKE_SYSTEM_PROCESSOR", "");
147147
}
148148
if target_arch() == "aarch64" && target_env() == "msvc" {
149+
cmake_cfg.generator("Ninja");
150+
cmake_cfg.define("CMAKE_ASM_COMPILER_TARGET", "arm64-pc-windows-msvc");
151+
cmake_cfg.define("CMAKE_ASM_COMPILER", "clang-cl");
152+
/* TODO: Determine why assembly files aren't being built w/ default generator
149153
#[cfg(target_arch = "x86_64")]
150154
cmake_cfg.generator_toolset("ClangCL,host=x64");
151155
#[cfg(target_arch = "x86")]
152156
cmake_cfg.generator_toolset("ClangCL,host=x86");
153157
#[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))]
154158
cmake_cfg.generator_toolset("ClangCL");
159+
*/
155160
}
156161
}
157162

0 commit comments

Comments
 (0)