[Openmp-commits] [openmp] r317890 - [OMPT] Purge OMPT_BLAME and OMPT_TRACE

Jonas Hahnfeld via Openmp-commits openmp-commits at lists.llvm.org
Fri Nov 10 07:17:57 PST 2017


Author: hahnfeld
Date: Fri Nov 10 07:17:57 2017
New Revision: 317890

URL: http://llvm.org/viewvc/llvm-project?rev=317890&view=rev
Log:
[OMPT] Purge OMPT_BLAME and OMPT_TRACE

This was replace by OMPT_OPTIONAL.

Modified:
    openmp/trunk/runtime/Build_With_CMake.txt
    openmp/trunk/runtime/cmake/LibompExports.cmake

Modified: openmp/trunk/runtime/Build_With_CMake.txt
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/Build_With_CMake.txt?rev=317890&r1=317889&r2=317890&view=diff
==============================================================================
--- openmp/trunk/runtime/Build_With_CMake.txt (original)
+++ openmp/trunk/runtime/Build_With_CMake.txt Fri Nov 10 07:17:57 2017
@@ -150,14 +150,11 @@ supported on Windows). If LIBOMP_ENABLE_
 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?

Modified: openmp/trunk/runtime/cmake/LibompExports.cmake
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/cmake/LibompExports.cmake?rev=317890&r1=317889&r2=317890&view=diff
==============================================================================
--- openmp/trunk/runtime/cmake/LibompExports.cmake (original)
+++ openmp/trunk/runtime/cmake/LibompExports.cmake Fri Nov 10 07:17:57 2017
@@ -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}")
 




More information about the Openmp-commits mailing list