[Openmp-commits] [openmp] [OpenMP] Add ompTest library to OpenMP (PR #147381)

via Openmp-commits openmp-commits at lists.llvm.org
Mon Jul 14 07:42:24 PDT 2025


================
@@ -0,0 +1,116 @@
+##===----------------------------------------------------------------------===##
+#
+# Build OMPT unit testing library: ompTest
+#
+##===----------------------------------------------------------------------===##
+
+cmake_minimum_required(VERSION 3.22)
+project(omptest LANGUAGES CXX)
+
+option(LIBOMPTEST_BUILD_STANDALONE
+       "Build ompTest 'standalone', i.e. w/o GoogleTest." OFF)
+option(LIBOMPTEST_BUILD_UNITTESTS
+       "Build ompTest's unit tests , requires GoogleTest." OFF)
+
+# In absence of corresponding OMPT support: exit early
+if(NOT ${LIBOMPTARGET_OMPT_SUPPORT})
----------------
jprotze wrote:

Does this make sense here? Or should it be `LIBOMP_OMPT_SUPPORT`?

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


More information about the Openmp-commits mailing list