Set OPENSSL_NO_ASM in win_arm64_msvc_compile Last blocker, I hope. Right now, to build with MSVC on arm64, you have to pass OPENSSL_NO_ASM, or we'll try to build gas assembly with MSVC's armasm64 assembler. I'm a little confused why CMake is detecting this as arm64asm as language ASM, but ah well. Looks like newer CMake supports this as ASM_MARMASM. But arm64asm uses a different syntax from gas, so supporting it will be tedious. Change-Id: I714fe2e47c167e6607d8e7763308b7762fed3f2f Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/58045 Reviewed-by: Adam Langley <agl@google.com>
diff --git a/generated/cr-buildbucket.cfg b/generated/cr-buildbucket.cfg index 7ca8c1d..aa1bfe6 100644 --- a/generated/cr-buildbucket.cfg +++ b/generated/cr-buildbucket.cfg
@@ -3766,7 +3766,8 @@ '{' ' "cmake_args": {' ' "CMAKE_SYSTEM_NAME": "Windows",' - ' "CMAKE_SYSTEM_PROCESSOR": "arm64"' + ' "CMAKE_SYSTEM_PROCESSOR": "arm64",' + ' "OPENSSL_NO_ASM": "1"' ' },' ' "gclient_vars": {' ' "checkout_nasm": false'
diff --git a/generated/project.cfg b/generated/project.cfg index ddb3778..ac7bcf0 100644 --- a/generated/project.cfg +++ b/generated/project.cfg
@@ -7,7 +7,7 @@ name: "boringssl" access: "group:all" lucicfg { - version: "1.38.1" + version: "1.38.2" package_dir: ".." config_dir: "generated" entry_point: "main.star"
diff --git a/main.star b/main.star index fe8842d..25e618f 100755 --- a/main.star +++ b/main.star
@@ -1011,6 +1011,8 @@ # MSVC will pick up the architecture from msvc_target. "CMAKE_SYSTEM_NAME": "Windows", "CMAKE_SYSTEM_PROCESSOR": "arm64", + # We do not currently support Windows arm64 assembly with MSVC. + "OPENSSL_NO_ASM": "1", }, "gclient_vars": { "checkout_nasm": False,