Skip to content

Commit

Permalink
Stuck w/ Ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jul 2, 2024
1 parent e62fc09 commit a39cb36
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions aws-lc-sys/builder/cmake_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,17 @@ impl CmakeBuilder {
cmake_cfg.define("CMAKE_SYSTEM_PROCESSOR", "");
}
if target_arch() == "aarch64" && target_env() == "msvc" {
cmake_cfg.generator("Ninja");
cmake_cfg.define("CMAKE_ASM_COMPILER_TARGET", "arm64-pc-windows-msvc");
cmake_cfg.define("CMAKE_ASM_COMPILER", "clang-cl");
/* TODO: Determine why assembly files aren't being built w/ default generator
#[cfg(target_arch = "x86_64")]
cmake_cfg.generator_toolset("ClangCL,host=x64");
#[cfg(target_arch = "x86")]
cmake_cfg.generator_toolset("ClangCL,host=x86");
#[cfg(not(any(target_arch = "x86_64", target_arch = "x86")))]
cmake_cfg.generator_toolset("ClangCL");
*/
}
}

Expand Down

0 comments on commit a39cb36

Please sign in to comment.