summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openmp/runtime/Build_With_CMake.txt11
-rw-r--r--openmp/runtime/cmake/LibompExports.cmake3
2 files changed, 5 insertions, 9 deletions
diff --git a/openmp/runtime/Build_With_CMake.txt b/openmp/runtime/Build_With_CMake.txt
index 1739e7783f2..607e115eac0 100644
--- a/openmp/runtime/Build_With_CMake.txt
+++ b/openmp/runtime/Build_With_CMake.txt
@@ -150,14 +150,11 @@ supported on Windows). If LIBOMP_ENABLE_SHARED is off, then static OpenMP
libraries will be built instead of dynamic ones.
-DLIBOMP_OMPT_SUPPORT=off|on
-Should OMPT support be included in the build? (Not supported on Windows)
-If LIBOMP_OMPT_SUPPORT is off, then both ompt_blame and ompt_trace are ignored.
+Should OMPT support be included in the build?
--DLIBOMP_OMPT_BLAME=on|off
-Should OMPT blame functionality be included in the build?
-
--DLIBOMP_OMPT_TRACE=on|off
-Should OMPT trace functionality be included in the build?
+-DLIBOMP_OMPT_OPTIONAL=on|off
+Should optional OMPT functionality be included in the build?
+Will be ignored if LIBOMP_OMPT_SUPPORT is off.
-DLIBOMP_STATS=off|on
Should include stats-gathering code be included in the build?
diff --git a/openmp/runtime/cmake/LibompExports.cmake b/openmp/runtime/cmake/LibompExports.cmake
index cda31598cab..1893b9f1a2a 100644
--- a/openmp/runtime/cmake/LibompExports.cmake
+++ b/openmp/runtime/cmake/LibompExports.cmake
@@ -27,8 +27,7 @@ endif()
libomp_append(libomp_suffix .s1 LIBOMP_STATS)
libomp_append(libomp_suffix .ompt LIBOMP_OMPT_SUPPORT)
if(${LIBOMP_OMPT_SUPPORT})
- libomp_append(libomp_suffix .no-ompt-blame IF_FALSE LIBOMP_OMPT_BLAME)
- libomp_append(libomp_suffix .no-ompt-trace IF_FALSE LIBOMP_OMPT_TRACE)
+ libomp_append(libomp_suffix .optional LIBOMP_OMPT_OPTIONAL)
endif()
string(REPLACE ";" "" libomp_suffix "${libomp_suffix}")
OpenPOWER on IntegriCloud