[llvm-branch-commits] [llvm] 1b643db - Restrict LLVM_TARGETS_TO_BUILD in Windows release packaging (#106059)

Tobias Hieta via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Sep 1 00:48:37 PDT 2024


Author: Hans
Date: 2024-09-01T09:48:25+02:00
New Revision: 1b643dbad74986718460f28347cbd17085402383

URL: https://github.com/llvm/llvm-project/commit/1b643dbad74986718460f28347cbd17085402383
DIFF: https://github.com/llvm/llvm-project/commit/1b643dbad74986718460f28347cbd17085402383.diff

LOG: Restrict LLVM_TARGETS_TO_BUILD in Windows release packaging (#106059)

When including all targets, some files become too large for the NSIS
installer to handle.

Fixes #101994

(cherry picked from commit 2a28df66dc3f7ff5b6233241837854acefb68d77)

Added: 
    

Modified: 
    llvm/utils/release/build_llvm_release.bat

Removed: 
    


################################################################################
diff  --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index 55b20c7c28ac12..64ae2d41ab2b02 100755
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -151,6 +151,7 @@ set common_cmake_flags=^
   -DCMAKE_BUILD_TYPE=Release ^
   -DLLVM_ENABLE_ASSERTIONS=OFF ^
   -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON ^
+  -DLLVM_TARGETS_TO_BUILD="AArch64;ARM;X86" ^
   -DLLVM_BUILD_LLVM_C_DYLIB=ON ^
   -DCMAKE_INSTALL_UCRT_LIBRARIES=ON ^
   -DPython3_FIND_REGISTRY=NEVER ^


        


More information about the llvm-branch-commits mailing list