[libc-commits] [libc] [llvm] [LLVM] Port 'llvm-gpu-loader' to use LLVMOffload (PR #162739)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Tue Feb 24 07:11:15 PST 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-nvptx-nvidia-win` running on `as-builder-8` while building `libc,llvm` at step 6 "build-unified-tree".

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

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

```
Step 6 (build-unified-tree) failure: build (failure)
...
[90/92] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\AsmMatcherEmitter.cpp.obj
[91/92] Building CXX object utils\TableGen\CMakeFiles\llvm-tblgen.dir\RegisterInfoEmitter.cpp.obj
[92/92] Linking CXX executable bin\llvm-tblgen.exe
erDef.inc...
[523/2882] Linking CXX shared library bin\Remarks.dll
[524/2882] Linking CXX executable bin\llvm-opt-report.exe
[525/2882] Linking CXX executable bin\llvm-remarkutil.exe
[526/2882] Linking CXX executable bin\llvm-tblgen.exe
[526/2882] Building native llvm-tblgen...
[2144/2882] 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 
C:\ninja\ccache.exe C:\PROGRA~1\MICROS~2\2022\COMMUN~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\cl.exe  /nologo /TP -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_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D_SCL_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\tools\llvm-gpu-loader -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\tools\llvm-gpu-loader -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\include -IC:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:preprocessor /Zc:__cplusplus /Oi /bigobj /permissive- /W4 -wd4146 -wd4244 -wd4267 -wd4456 -wd4457 -wd4458 -wd4459 -wd4624 -wd4100 -wd4127 -wd4505 -wd4702 -wd4245 -wd4310 -wd4701 -wd4703 -wd4389 -wd4805 -wd4577 -wd4319 -wd4324 -wd4251 -wd4275 -w14062 -we4238 /Gw /O2 /Ob2  -MD -UNDEBUG /EHs-c- /GR- -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:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp(34): fatal error C1083: Cannot open include file: 'sys/file.h': No such file or directory
[2146/2882] Building CXX object lib\MC\MCParser\CMakeFiles\LLVMMCParser.dir\AsmParser.cpp.obj
[2148/2882] Building CXX object lib\CodeGen\AsmPrinter\CMakeFiles\LLVMAsmPrinter.dir\AsmPrinter.cpp.obj
[2149/2882] Building CXX object lib\LTO\CMakeFiles\LLVMLTO.dir\LTO.cpp.obj
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the libc-commits mailing list