[llvm] [offload][lit] Run unit tests in check-offload if libomptarget isn't built (PR #214334)
Nick Sarnie via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 5 13:53:56 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
----------------
sarnex wrote:
Yeah let me try that, one sec
https://github.com/llvm/llvm-project/pull/214334
More information about the llvm-commits
mailing list