Skip to content

Commit 1b643db

Browse files
zmodemtru
authored andcommitted
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 2a28df6)
1 parent 53c43ba commit 1b643db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/utils/release/build_llvm_release.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ set common_cmake_flags=^
151151
-DCMAKE_BUILD_TYPE=Release ^
152152
-DLLVM_ENABLE_ASSERTIONS=OFF ^
153153
-DLLVM_INSTALL_TOOLCHAIN_ONLY=ON ^
154+
-DLLVM_TARGETS_TO_BUILD="AArch64;ARM;X86" ^
154155
-DLLVM_BUILD_LLVM_C_DYLIB=ON ^
155156
-DCMAKE_INSTALL_UCRT_LIBRARIES=ON ^
156157
-DPython3_FIND_REGISTRY=NEVER ^

0 commit comments

Comments
 (0)