mirror-llvm-project/offload/ci
Kewen Meng d3e11d415a
[OpenMP][AMDGPU][CI] Fix libc build (#209336)
This PR attempts to fix the error:
```
llvm-lit: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/utils/lit/lit/discovery.py:273: warning: input '/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/runtimes/runtimes-amdgpu-amd-amdhsa-bins/libc/test' contained no tests
error: did not discover any tests for provided path(s)
```

According to lib/test/CMakeList.txt, we need to set
`CMAKE_CROSSCOMPILING_EMULATOR` to avoid early return in the cmake. It
only changes the build script instead of the parent cmake cache file.
Not sure if this is the optimal solution, but it works for us.
2026-07-13 23:46:24 +00:00
..
.gitignore
hip-tpl.py [HIP] Remove explicit compiler-rt from bot recipe (#201329) 2026-06-03 15:20:05 +02:00
openmp-offload-amdgpu-clang-flang.py [OpenMP][Offload][AMDGPU] Fix offload tests failure after the new triple (#208617) 2026-07-10 11:38:16 -07:00
openmp-offload-amdgpu-libc-runtime.py [OpenMP][AMDGPU][CI] Fix libc build (#209336) 2026-07-13 23:46:24 +00:00
openmp-offload-amdgpu-runtime.py [OpenMP][AMDGPU][CI] Update build scripts for AMDGPU bots (#209274) 2026-07-13 12:25:37 -07:00