https://github.com/jplehr created 
https://github.com/llvm/llvm-project/pull/237202

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 <[email protected]>

---

<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>

>From 2830af6760cb9003e9c37ec9ba24edda395e2ec7 Mon Sep 17 00:00:00 2001
From: JP Lehr <[email protected]>
Date: Fri, 30 Oct 2026 03:30:16 -0500
Subject: [PATCH] [OpenMP][omptest] Run the ompTest unit tests on the AMDGPU
 clang-flang bot

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 <[email protected]>
---
 offload/ci/openmp-offload-amdgpu-clang-flang.py | 4 ++++
 1 file changed, 4 insertions(+)

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",
             ]
         )
 

_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to