Skip to content

Conversation

@zmodem
Copy link
Collaborator

@zmodem zmodem commented Feb 19, 2025

In #106059 we reduced the targets to those supported by Windows (X86 and ARM) to avoid running into size limitations of the NSIS compiler.

Since then, people complained about the lack of Wasm [1], RISC-V [2], BPF [3], and NVPTX [4]. These do seem to fit in the installer (at least for 20.1.0-rc2), so let's add them back.

[1] https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/26
[2] https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/53
[3] #127120
[4] #127794 (comment)

In llvm#106059 we reduced the targets to those supported by Windows (X86
and ARM) to avoid running into size limitations of the NSIS compiler.

Since then, people complained about the lack of Wasm [1], RISC-V [2],
and BPF [3]. These do seem to fit in the installer (at least for
20.1.0-rc2), so let's add them back.

[1] https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/26
[2] https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/53
[3] llvm#127120
@zmodem zmodem added this to the LLVM 20.X Release milestone Feb 19, 2025
@llvmbot
Copy link
Member

llvmbot commented Feb 19, 2025

@llvm/pr-subscribers-platform-windows

Author: Hans Wennborg (zmodem)

Changes

In #106059 we reduced the targets to those supported by Windows (X86 and ARM) to avoid running into size limitations of the NSIS compiler.

Since then, people complained about the lack of Wasm [1], RISC-V [2], and BPF [3]. These do seem to fit in the installer (at least for 20.1.0-rc2), so let's add them back.

[1] https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/26
[2] https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/53
[3] #127120


Full diff: https://github.com/llvm/llvm-project/pull/127794.diff

1 Files Affected:

  • (modified) llvm/utils/release/build_llvm_release.bat (+1-1)
diff --git a/llvm/utils/release/build_llvm_release.bat b/llvm/utils/release/build_llvm_release.bat
index dd041d7d384ec..fee87f4f72767 100755
--- a/llvm/utils/release/build_llvm_release.bat
+++ b/llvm/utils/release/build_llvm_release.bat
@@ -150,7 +150,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_TARGETS_TO_BUILD="AArch64;ARM;X86;BPF;WebAssembly;RISCV" ^
   -DLLVM_BUILD_LLVM_C_DYLIB=ON ^
   -DCMAKE_INSTALL_UCRT_LIBRARIES=ON ^
   -DPython3_FIND_REGISTRY=NEVER ^

@zmodem zmodem requested review from omjavaid, tru and tstellar February 19, 2025 13:18
@zmodem
Copy link
Collaborator Author

zmodem commented Feb 19, 2025

What do you think?

@Andarwinux
Copy link
Contributor

It would be nice to add nvtpx, it's needed for ffmpeg's cuda filter.

Copy link
Collaborator

@tstellar tstellar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I've fine if you want to add NVPTX too.

@tstellar
Copy link
Collaborator

@zmodem Are you planning to rebuild any of the LLVM 19 releases with these new targets?

@zmodem zmodem changed the title Add Wasm, RISC-V, and BPF targets back to Windows release packaging Add Wasm, RISC-V, BPF, and NVPTX targets back to Windows release packaging Feb 19, 2025
@zmodem
Copy link
Collaborator Author

zmodem commented Feb 19, 2025

All right, adding NVPTX too. I also tried AMDGPU, but what was too much for the installer.

Are you planning to rebuild any of the LLVM 19 releases with these new targets?

No, since 20 is coming soon I figured this would just apply going forward.

@zmodem zmodem merged commit 6e047a5 into llvm:main Feb 20, 2025
8 checks passed
@zmodem
Copy link
Collaborator Author

zmodem commented Feb 20, 2025

/cherry-pick 6e047a5

@llvmbot
Copy link
Member

llvmbot commented Feb 20, 2025

/pull-request #127982

llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request Feb 20, 2025
…elease packaging (#127794)

In #106059 we reduced the targets to those supported by Windows (X86 and
ARM) to avoid running into size limitations of the NSIS compiler.

Since then, people complained about the lack of Wasm [1], RISC-V [2],
BPF [3], and NVPTX [4]. These do seem to fit in the installer (at least
for 20.1.0-rc2), so let's add them back.

[1]
https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/26
[2]
https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/53
[3] llvm/llvm-project#127120
[4]
llvm/llvm-project#127794 (comment)
swift-ci pushed a commit to swiftlang/llvm-project that referenced this pull request Feb 21, 2025
…aging (llvm#127794)

In llvm#106059 we reduced the targets to those supported by Windows (X86 and
ARM) to avoid running into size limitations of the NSIS compiler.

Since then, people complained about the lack of Wasm [1], RISC-V [2],
BPF [3], and NVPTX [4]. These do seem to fit in the installer (at least
for 20.1.0-rc2), so let's add them back.

[1]
https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/26
[2]
https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/53
[3] llvm#127120
[4]
llvm#127794 (comment)

(cherry picked from commit 6e047a5)
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request Feb 21, 2025
…elease packaging (#127794)

In #106059 we reduced the targets to those supported by Windows (X86 and
ARM) to avoid running into size limitations of the NSIS compiler.

Since then, people complained about the lack of Wasm [1], RISC-V [2],
BPF [3], and NVPTX [4]. These do seem to fit in the installer (at least
for 20.1.0-rc2), so let's add them back.

[1]
https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/26
[2]
https://discourse.llvm.org/t/llvm-19-x-release-third-party-binaries/80374/53
[3] llvm/llvm-project#127120
[4]
llvm/llvm-project#127794 (comment)

(cherry picked from commit 6e047a5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

4 participants