[llvm-branch-commits] [llvm] release/19.x: Restrict LLVM_TARGETS_TO_BUILD in Windows release packaging (#106059) (PR #106546)
Tobias Hieta via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Sep 1 00:48:31 PDT 2024
https://github.com/tru updated https://github.com/llvm/llvm-project/pull/106546
>From 1b643dbad74986718460f28347cbd17085402383 Mon Sep 17 00:00:00 2001
From: Hans <hans at hanshq.net>
Date: Thu, 29 Aug 2024 13:54:30 +0200
Subject: [PATCH] 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)
---
llvm/utils/release/build_llvm_release.bat | 1 +
1 file changed, 1 insertion(+)
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