[llvm-branch-commits] [openmp] [OpenMP][omptest] Do not install ompTest that embeds LLVM's GoogleTest (PR #242313)
Michael Kruse via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Nov 16 16:06:59 PST 2026
================
@@ -373,7 +373,10 @@ This option is `OFF` if this feature is not supported for the platform.
**LIBOMPTEST_INSTALL_COMPONENTS**: BOOL (default: `OFF`)
: Whether to also copy `libomptest.so` into
-[`CMAKE_INSTALL_PREFIX`][CMAKE_INSTALL_PREFIX] during `ninja install`.
+[`CMAKE_INSTALL_PREFIX`][CMAKE_INSTALL_PREFIX] during `ninja install`. An
+ompTest built against LLVM's vendored GoogleTest is not installable, since the
+matching GoogleTest headers are not installed with it; combine this with
+`LIBOMPTEST_USE_SYSTEM_GTEST` or `LIBOMPTEST_BUILD_STANDALONE`.
----------------
Meinersbur wrote:
`LIBOMPTEST_BUILD_STANDALONE` also requires unittests to be disabled
https://github.com/llvm/llvm-project/pull/242313
More information about the llvm-branch-commits
mailing list