[llvm] [OpenMP][AMDGPU] Enable omptest build (PR #161649)
Jan Patrick Lehr via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 2 03:58:27 PDT 2025
https://github.com/jplehr created https://github.com/llvm/llvm-project/pull/161649
This enables building the omptest library across the AMD buildbots that rely on this CMake cache.
>From 57c1088455020aff96a128114b3b1c8748716af1 Mon Sep 17 00:00:00 2001
From: JP Lehr <JanPatrick.Lehr at amd.com>
Date: Thu, 2 Oct 2025 05:56:59 -0500
Subject: [PATCH] [OpenMP][AMDGPU] Enable omptest build
This enables building the omptest library across the AMD buildbots that
rely on this CMake cache.
---
offload/cmake/caches/AMDGPUBot.cmake | 2 ++
1 file changed, 2 insertions(+)
diff --git a/offload/cmake/caches/AMDGPUBot.cmake b/offload/cmake/caches/AMDGPUBot.cmake
index 5a27a81c736b1..11b2bbb16b210 100644
--- a/offload/cmake/caches/AMDGPUBot.cmake
+++ b/offload/cmake/caches/AMDGPUBot.cmake
@@ -17,6 +17,8 @@ set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
set(LLVM_TARGETS_TO_BUILD "host;AMDGPU;SPIRV" CACHE STRING "")
set(LLVM_LIT_ARGS "-v --show-unsupported --timeout 100 --show-xfail -j 16" CACHE STRING "")
+set(LIBOMPTEST_BUILD_UNITTESTS ON CACHE BOOL "")
+
set(CLANG_DEFAULT_LINKER "lld" CACHE STRING "")
set(CLANG_DEFAULT_RTLIB "compiler-rt" STRING "")
More information about the llvm-commits
mailing list