[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:04:54 PST 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `flang-arm64-windows-msvc` running on `linaro-armv8-windows-msvc-01` while building `libc,llvm` at step 5 "build-unified-tree".

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

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

```
Step 5 (build-unified-tree) failure: build (failure)
...
  346 |       return {APFloat(*smt, value.real()), APFloat(*smt, value.imag())};
      |              ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\complex(1315,5): note: 'complex' has been explicitly marked deprecated here
 1315 |     _DEPRECATE_NONFLOATING_COMPLEX
      |     ^
c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.39.33519\include\yvals_core.h(1450,7): note: expanded from macro '_DEPRECATE_NONFLOATING_COMPLEX'
 1450 |     [[deprecated("warning STL4037: "                                                   \
      |       ^
1 warning generated.
698.690 [321/10/7520] 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:\Users\tcwg\scoop\shims\ccache.exe C:\Users\tcwg\scoop\apps\llvm-arm64\current\bin\clang-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:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\tools\llvm-gpu-loader -IC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\llvm\tools\llvm-gpu-loader -IC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\build\include -IC:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\llvm\include /DWIN32 /D_WINDOWS   /Zc:inline /Zc:__cplusplus /Oi /Brepro /bigobj /permissive- -Werror=unguarded-availability-new /W4  -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported /Gw /O2 /Ob2  -std:c++17 -MD -UNDEBUG /EHs-c- /GR- /showIncludes /Fotools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\llvm-gpu-loader.cpp.obj /Fdtools\llvm-gpu-loader\CMakeFiles\llvm-gpu-loader.dir\ -c -- C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp
C:\Users\tcwg\llvm-worker\flang-arm64-windows-msvc\llvm-project\llvm\tools\llvm-gpu-loader\llvm-gpu-loader.cpp(34,10): fatal error: 'sys/file.h' file not found
   34 | #include <sys/file.h>
      |          ^~~~~~~~~~~~
1 error generated.
708.465 [321/2/7528] Building CXX object tools\llvm-reduce\CMakeFiles\llvm-reduce.dir\ReducerWorkItem.cpp.obj
ninja: build stopped: subcommand failed.

```

</details>

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


More information about the libc-commits mailing list