[llvm] [offload][lit] Run unit tests in check-offload if libomptarget isn't built (PR #214334)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 13:52:26 PDT 2026
================
@@ -74,6 +74,13 @@ if(TARGET omptarget)
DEPENDS ${OFFLOAD_TOOLS} omptarget ${OMP_DEPEND} ${LIBOMPTARGET_TESTED_PLUGINS}
LLVMOffload OffloadUnitTests
ARGS ${LIBOMPTARGET_LIT_ARG_LIST})
+else()
+ add_offload_testsuite(check-offload
+ "Running offload tests"
+ ${CMAKE_CURRENT_BINARY_DIR}/unit
----------------
jhuber6 wrote:
Could we instead do a list and append openmp tests to it if present?
https://github.com/llvm/llvm-project/pull/214334
More information about the llvm-commits
mailing list