-
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
PS C:\WINDOWS\system32> npx setup-cpp --compiler llvm-21.1.0
::group::Installing llvm 21.1.0
Installing llvm 21.1.0 x64 via direct downloading
Error: No asset found for version 21.1.0 matching win64,windows,Windows and .tar.xz,.tar.xz,x86_64,X64
Error: No asset found for version 21.1.0 matching win64,windows,Windows and .tar.xz,.tar.xz,x86_64,X64
at C:\Users\andre\AppData\Local\npm-cache\_npx\4f329d66cb03d158\node_modules\setup-cpp\dist\legacy\setup-cpp.js:2:193124
at async Nr (C:\Users\andre\AppData\Local\npm-cache\_npx\4f329d66cb03d158\node_modules\setup-cpp\dist\legacy\setup-cpp.js:2:191291)
at async In (C:\Users\andre\AppData\Local\npm-cache\_npx\4f329d66cb03d158\node_modules\setup-cpp\dist\legacy\setup-cpp.js:2:163390)
at async C:\Users\andre\AppData\Local\npm-cache\_npx\4f329d66cb03d158\node_modules\setup-cpp\dist\legacy\setup-cpp.js:2:197339
at async Cr (C:\Users\andre\AppData\Local\npm-cache\_npx\4f329d66cb03d158\node_modules\setup-cpp\dist\legacy\setup-cpp.js:2:193471)
at async C:\Users\andre\AppData\Local\npm-cache\_npx\4f329d66cb03d158\node_modules\setup-cpp\dist\legacy\setup-cpp.js:2:199815
at async kr (C:\Users\andre\AppData\Local\npm-cache\_npx\4f329d66cb03d158\node_modules\setup-cpp\dist\legacy\setup-cpp.js:2:199701)
at async C:\Users\andre\AppData\Local\npm-cache\_npx\4f329d66cb03d158\node_modules\setup-cpp\dist\legacy\setup-cpp.js:2:317872
::endgroup::
took 0 seconds
✅ llvm was installed successfully:
setup-cpp@1.7.1 already installed
Failed to install the llvm compiler 21.1.0
This works fine
PS C:\WINDOWS\system32> npx setup-cpp --compiler llvm-20.1.0
::group::Installing llvm 20.1.0
Installing llvm 20.1.0 x64 via direct downloading
Downloading LLVM from https://github.com/llvm/llvm-project/releases/download/llvmorg-20.1.0/clang+llvm-20.1.0-x86_64-pc-windows-msvc.tar.xz
Add C:\Users\andre\llvm\bin to PATH
"C:\Users\andre\llvm\bin" was added to the PATH.
CC='C:\Users\andre\llvm/bin/clang.exe' was set in the environment.
LLVM_PATH='C:\Users\andre\llvm' was set in the environment.
CXX='C:\Users\andre\llvm/bin/clang++.exe' was set in the environment.
LLVM_CPATH='C:\Users\andre\llvm/lib/clang/20/include' was set in the environment.
LLVM_LD_LIBRARY_PATH=';C:\Users\andre\llvm/lib' was set in the environment.
LLVM_CPPFLAGS='-IC:\Users\andre\llvm/include' was set in the environment.
LLVM_DYLD_LIBRARY_PATH=';C:\Users\andre\llvm/lib' was set in the environment.
LLVM_LDFLAGS='-LC:\Users\andre\llvm/lib' was set in the environment.
LLVM_LIBRARY_PATH='C:\Users\andre\llvm/lib' was set in the environment.
GCOV='llvm-cov gcov' was set in the environment.
::endgroup::
took 8 seconds
✅ llvm was installed successfully:
- The installation directory is C:\Users\andre\llvm
- The binary directory is C:\Users\andre\llvm\bin
setup-cpp@1.7.1 already installed
setup-cpp finished
Run `RefreshEnv.cmd` or restart your shell to update the environment.
Thank you very much! Great tool!
Metadata
Metadata
Assignees
Labels
No labels