[llvm-branch-commits] [llvm] [OpenMP][omptest] Run the ompTest unit tests on the AMDGPU clang-flang bot (PR #237202)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Oct 30 05:32:05 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Jan Patrick Lehr (jplehr)
<details>
<summary>Changes</summary>
ompTest ships unit tests that register as check-ompt-omptest, but
LIBOMPTEST_BUILD_UNITTESTS defaults to OFF, so no buildbot builds or runs
them. Its install rules are likewise never exercised.
Enable both on the openmp-offload-amdgpu-clang-flang bot, which already runs
check-openmp and installs.
Assisted-by: Claude Opus 5 <noreply@<!-- -->anthropic.com>
---
<sub>Stack created with <a href="https://github.com/github/gh-stack">GitHub Stacks CLI</a> • <a href="https://gh.io/stacks-feedback">Give Feedback 💬</a></sub>
---
Full diff: https://github.com/llvm/llvm-project/pull/237202.diff
1 Files Affected:
- (modified) offload/ci/openmp-offload-amdgpu-clang-flang.py (+4)
``````````diff
diff --git a/offload/ci/openmp-offload-amdgpu-clang-flang.py b/offload/ci/openmp-offload-amdgpu-clang-flang.py
index 1394eea8542bb4..6d143c26ddf707 100755
--- a/offload/ci/openmp-offload-amdgpu-clang-flang.py
+++ b/offload/ci/openmp-offload-amdgpu-clang-flang.py
@@ -34,6 +34,10 @@
"-DFLANG_RUNTIME_F128_MATH_LIB=libquadmath",
"-DCMAKE_CXX_STANDARD=17",
"-DLIBOMPTARGET_PLUGINS_TO_BUILD=amdgpu;host",
+ # ompTest: run its unit tests as part of check-openmp, and
+ # exercise its install rules during the install step.
+ "-DLIBOMPTEST_BUILD_UNITTESTS=ON",
+ "-DLIBOMPTEST_INSTALL_COMPONENTS=ON",
]
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/237202
More information about the llvm-branch-commits
mailing list