summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/cmake/Definitions.cmake
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-04-29 16:22:07 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-04-29 16:22:07 +0000
commite5f4492e30cce5abb21755eebb3526f380197449 (patch)
treebb2ffd2391ca09741f986135d121274bdb3c55d4 /openmp/runtime/cmake/Definitions.cmake
parent9429684cce4e667f9558f8b032452840362be6cc (diff)
downloadbcm5719-llvm-e5f4492e30cce5abb21755eebb3526f380197449.tar.gz
bcm5719-llvm-e5f4492e30cce5abb21755eebb3526f380197449.zip
This patch contains the new files for OMPT and the needed changes to the build infrastructure
llvm-svn: 236117
Diffstat (limited to 'openmp/runtime/cmake/Definitions.cmake')
-rw-r--r--openmp/runtime/cmake/Definitions.cmake15
1 files changed, 15 insertions, 0 deletions
diff --git a/openmp/runtime/cmake/Definitions.cmake b/openmp/runtime/cmake/Definitions.cmake
index cfd0c0987b9..1b71f0ae81d 100644
--- a/openmp/runtime/cmake/Definitions.cmake
+++ b/openmp/runtime/cmake/Definitions.cmake
@@ -100,6 +100,21 @@ function(append_cpp_flags input_cpp_flags)
else()
append_definitions("-D KMP_STATS_ENABLED=0")
endif()
+ if(${OMPT_SUPPORT})
+ append_definitions("-D OMPT_SUPPORT=1")
+ else()
+ append_definitions("-D OMPT_SUPPORT=0")
+ endif()
+ if(${OMPT_BLAME})
+ append_definitions("-D OMPT_BLAME=1")
+ else()
+ append_definitions("-D OMPT_BLAME=0")
+ endif()
+ if(${OMPT_TRACE})
+ append_definitions("-D OMPT_TRACE=1")
+ else()
+ append_definitions("-D OMPT_TRACE=0")
+ endif()
# OpenMP version flags
set(have_omp_50 0)
OpenPOWER on IntegriCloud