Skip to content

Conversation

jplehr
Copy link
Contributor

@jplehr jplehr commented Oct 2, 2025

This enables building the omptest library across the AMD buildbots that rely on this CMake cache.

This enables building the omptest library across the AMD buildbots that
rely on this CMake cache.
@llvmbot
Copy link
Member

llvmbot commented Oct 2, 2025

@llvm/pr-subscribers-offload

@llvm/pr-subscribers-backend-amdgpu

Author: Jan Patrick Lehr (jplehr)

Changes

This enables building the omptest library across the AMD buildbots that rely on this CMake cache.


Full diff: https://github.com/llvm/llvm-project/pull/161649.diff

1 Files Affected:

  • (modified) offload/cmake/caches/AMDGPUBot.cmake (+2)
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 "")
 

@jplehr
Copy link
Contributor Author

jplehr commented Oct 2, 2025

This change may depend on #159416

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants