[Openmp-commits] [openmp] [OpenMP] Add ompTest library to OpenMP (PR #147381)

LLVM Continuous Integration via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 21 05:22:51 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `amdgpu-offload-rhel-8-cmake-build-only` running on `rocm-docker-rhel-8` while building `openmp` at step 4 "annotate".

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

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

```
Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py --jobs=32' (failure)
...
CMake Warning at /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/unittests/Conformance/tests/CMakeLists.txt:2 (message):
  Cannot run conformance tests without the LLVM C library


-- quadmath.h found in Clang's selected GCC installation
-- Configuring done (1.0s)
-- Generating done (0.2s)
-- Build files have been written to: /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins
[8023/8026] Performing build step for 'runtimes'
ninja: error: '/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib/libllvm_gtest.a', needed by 'openmp/tools/omptest/libomptest.so', missing and no known rule to make it
FAILED: runtimes/runtimes-stamps/runtimes-build /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-stamps/runtimes-build 
cd /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 62, in step
    yield
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 53, in main
    run_command(["ninja"])
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 75, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File "/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib64/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
@@@STEP_FAILURE@@@
Step 7 (build cmake config) failure: build cmake config (failure)
...
-- Building the llvm-omp-kernel-replay tool
-- Building offloading runtime library libomptarget.
CMake Warning at /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-project/offload/unittests/Conformance/tests/CMakeLists.txt:2 (message):
  Cannot run conformance tests without the LLVM C library
-- quadmath.h found in Clang's selected GCC installation
-- Configuring done (1.0s)
-- Generating done (0.2s)
-- Build files have been written to: /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins
[8023/8026] Performing build step for 'runtimes'
ninja: error: '/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/lib/libllvm_gtest.a', needed by 'openmp/tools/omptest/libomptest.so', missing and no known rule to make it
FAILED: runtimes/runtimes-stamps/runtimes-build /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-stamps/runtimes-build 
cd /home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/build/runtimes/runtimes-bins && /usr/bin/cmake --build .
ninja: build stopped: subcommand failed.
['ninja'] exited with return code 1.
The build step threw an exception...
Traceback (most recent call last):
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 62, in step
    yield
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 53, in main
    run_command(["ninja"])
  File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 75, in run_command
    util.report_run_cmd(cmd, cwd=directory)
  File "/home/botworker/bbot/amdgpu-offload-rhel-8-cmake-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd
    subprocess.check_call(cmd, shell=shell, *args, **kwargs)
  File "/usr/lib64/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1.
program finished with exit code 0
elapsedTime=394.750182

```

</details>

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


More information about the Openmp-commits mailing list