[libc] [llvm] [LLVM] Make the GPU loader utilities an LLVM tool (PR #132096)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 20 13:13:10 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `premerge-monolithic-windows` running on `premerge-windows-1` while building `libc,llvm` at step 5 "clean-build-dir".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/35/builds/8378

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (clean-build-dir) failure: Delete failed. (failure)
Step 7 (build-unified-tree) failure: build (failure)
...
[9239/13635] Building CXX object tools\llvm-jitlink\CMakeFiles\llvm-jitlink.dir\llvm-jitlink-macho.cpp.obj
[9240/13635] Building CXX object tools\llvm-jitlink\CMakeFiles\llvm-jitlink.dir\llvm-jitlink-statistics.cpp.obj
[9241/13635] Linking CXX executable bin\llvm-debuginfo-analyzer.exe
[9242/13635] Linking CXX static library lib\LLVMExegesisRISCV.lib
[9243/13635] Building CXX object tools\llvm-libtool-darwin\CMakeFiles\llvm-libtool-darwin.dir\llvm-libtool-darwin.cpp.obj
[9244/13635] Building CXX object tools\llvm-link\CMakeFiles\llvm-link.dir\llvm-link.cpp.obj
[9245/13635] Linking CXX executable bin\fir-opt.exe
[9246/13635] Linking CXX executable bin\lli.exe
[9247/13635] Building CXX object tools\llvm-lipo\CMakeFiles\llvm-lipo.dir\llvm-lipo-driver.cpp.obj
[9248/13635] Building CXX object tools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj
FAILED: tools/llvm-gpu-loader/CMakeFiles/llvm-gpu-loader.dir/llvm-gpu-loader.cpp.obj 
sccache C:\BuildTools\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe  /nologo /TP -DGTEST_HAS_RTTI=0 -DLIBC_NAMESPACE=__llvm_libc_common_utils -DLLVM_BUILD_STATIC -DUNICODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_GLIBCXX_ASSERTIONS -D_HAS_EXCEPTIONS=0 -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools\llvm-gpu-loader -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\tools\llvm-gpu-loader -Iinclude -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\include -IC:\ws\buildbot\premerge-monolithic-windows\llvm-project\cmake\Modules\..\..\libc /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4141 -wd4146 -wd4244 -wd4267 -wd4291 -wd4351 -wd4456 -wd4457 -wd4458 -wd4459 -wd4503 -wd4624 -wd4722 -wd4100 -wd4127 -wd4512 -wd4505 -wd4610 -wd4510 -wd4702 -wd4245 -wd4706 -wd4310 -wd4701 -wd4703 -wd4389 -wd4611 -wd4805 -wd4204 -wd4577 -wd4091 -wd4592 -wd4319 -wd4709 -wd5105 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD  /EHs-c- /GR- -UNDEBUG -std:c++17 /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ /FS -c C:\ws\buildbot\premerge-monolithic-windows\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
C:\ws\buildbot\premerge-monolithic-windows\llvm-project\cmake\Modules\..\..\libc\src/__support/macros/optimization.h(36): fatal error C1189: #error:  "Unhandled compiler"
[9249/13635] Building CXX object tools\llvm-lipo\CMakeFiles\llvm-lipo.dir\llvm-lipo.cpp.obj
[9250/13635] Building CXX object tools\llvm-jitlink\CMakeFiles\llvm-jitlink.dir\llvm-jitlink.cpp.obj
[9251/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\DispatchStatistics.cpp.obj
[9252/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\BottleneckAnalysis.cpp.obj
[9253/13635] Linking CXX executable bin\llvm-ifs.exe
[9254/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\PipelinePrinter.cpp.obj
[9255/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\CodeRegion.cpp.obj
[9256/13635] Building CXX object tools\llvm-mc\CMakeFiles\llvm-mc.dir\Disassembler.cpp.obj
[9257/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\InstructionView.cpp.obj
[9258/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\RegisterFileStatistics.cpp.obj
[9259/13635] Building CXX object tools\llvm-mc\CMakeFiles\llvm-mc.dir\llvm-mc.cpp.obj
[9260/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\InstructionInfoView.cpp.obj
[9261/13635] Building CXX object tools\llvm-lto2\CMakeFiles\llvm-lto2.dir\llvm-lto2.cpp.obj
[9262/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\ResourcePressureView.cpp.obj
[9263/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\RetireControlUnitStatistics.cpp.obj
[9264/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\llvm-mca.cpp.obj
[9265/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\CodeRegionGenerator.cpp.obj
[9266/13635] Building CXX object tools\llvm-mca\CMakeFiles\llvm-mca.dir\Views\SchedulerStatistics.cpp.obj
[9267/13635] Building CXX object tools\llvm-jitlink\llvm-jitlink-executor\CMakeFiles\llvm-jitlink-executor.dir\llvm-jitlink-executor.cpp.obj
[9268/13635] Linking CXX executable bin\llvm-link.exe
[9269/13635] Linking CXX executable bin\llvm-extract.exe
[9270/13635] Linking CXX executable bin\llvm-libtool-darwin.exe
[9271/13635] Linking CXX executable bin\llvm-exegesis.exe
[9272/13635] Linking CXX executable bin\dsymutil.exe
[9273/13635] Linking CXX executable bin\llvm-c-test.exe
[9274/13635] Linking CXX executable bin\llvm-dwp.exe
[9275/13635] Linking CXX executable bin\llvm-gsymutil.exe
[9276/13635] Linking CXX executable bin\llvm-dwarfutil.exe
[9277/13635] Linking CXX executable bin\llvm-isel-fuzzer.exe
[9278/13635] Linking CXX executable bin\llc.exe
[9279/13635] Building CXX object tools\flang\lib\Frontend\CMakeFiles\flangFrontend.dir\cmake_pch.cxx.obj
ninja: build stopped: subcommand failed.

```

</details>

https://github.com/llvm/llvm-project/pull/132096


More information about the llvm-commits mailing list