diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-09-01 20:36:11 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2021-09-01 20:36:11 +0000 |
commit | fa99393be2c52de8019a7d717202525b41b2cebe (patch) | |
tree | 031f1fca9c965e923474119bcf1c7154534164f6 | |
parent | 5cfb5d511933f24b665d1098456fa11a7acca91a (diff) |
build_llvm_package.bat: Add MSVC compatibility setting
Change-Id: If4fd85b04499db56cfb76bebdf7dc4817d852430
-rwxr-xr-x | build_llvm_package.bat | 4 | ||||
-rwxr-xr-x | tcwg-llvm-release.bat | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/build_llvm_package.bat b/build_llvm_package.bat index 3af1caa1..660c07c4 100755 --- a/build_llvm_package.bat +++ b/build_llvm_package.bat @@ -63,7 +63,9 @@ set cmake_flags=^ -DLLVM_DEFAULT_TARGET_TRIPLE=aarch64-windows-msvc ^
-DLLVM_HOST_TRIPLE=aarch64-windows-msvc ^
-DLLVM_TARGET_ARCH=AArch64 ^
- -DCLANG_DEFAULT_LINKER=lld
+ -DCLANG_DEFAULT_LINKER=lld ^
+ -DCMAKE_C_FLAGS="-fms-compatibility-version=19.14" ^
+ -DCMAKE_CXX_FLAGS="-fms-compatibility-version=19.14"
REM TODO: Run the "check-all" tests.
diff --git a/tcwg-llvm-release.bat b/tcwg-llvm-release.bat index c0a34e48..209e52fb 100755 --- a/tcwg-llvm-release.bat +++ b/tcwg-llvm-release.bat @@ -5,6 +5,6 @@ mkdir artifacts REM For now we use a local copy of build_llvm_package.bat. REM We should merge our changes to upstream REM llvm/utils/release/build_llvm_package.bat script. -call jenkins-scripts\build_llvm_package.bat "%1%" +call jenkins-scripts\build_llvm_package.bat %1% cp LLVM-%1%-woa64.zip artifacts\ |