[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:16 PST 2026
================
@@ -136,8 +136,8 @@ is expected to have been built from the same Git commit as OpenMP. It will,
however, use the compiler detected by CMake, usually gcc.
To also make it use Clang, add
`-DCMAKE_C_COMPILER=../build/bin/clang -DCMAKE_C_COMPILER=../build/bin/clang++`.
-In any case, it will use Clang from `LLVM_BINARY_DIR` for running the regression
-tests. `LLVM_BINARY_DIR` can also be omitted in which case testing
+It will use Clang from `LLVM_BINARY_DIR` for running the regression tests, if Clang is included in that build.
----------------
Meinersbur wrote:
Consider adding that you need `OPENMP_TEST_C_COMPILER`/`OPENMP_TEST_CXX_COMPILER` if you want testing without clang in LLVM_BINARY_DIR
https://github.com/llvm/llvm-project/pull/182470
More information about the Openmp-commits
mailing list