[Openmp-commits] [openmp] [openmp] Allow testing OpenMP without a full clang build tree (PR #182470)

Michael Kruse via Openmp-commits openmp-commits at lists.llvm.org
Fri Feb 20 03:55:17 PST 2026


================
@@ -127,19 +127,23 @@ function(add_openmp_testsuite target comment)
     set_property(GLOBAL APPEND PROPERTY OPENMP_LIT_DEPENDS ${ARG_DEPENDS})
   endif()
 
+  set(CLANG_DEPEND)
+  if (TARGET "clang")
+    set(CLANG_DEPEND clang)
----------------
Meinersbur wrote:

```suggestion
    list(APPEND CLANG_DEPEND clang)
```

https://github.com/llvm/llvm-project/pull/182470


More information about the Openmp-commits mailing list