[Openmp-commits] [openmp] r299230 - Fix for bug https://llvm.org/bugs/show_bug.cgi?id=32456
Andrey Churbanov via Openmp-commits
openmp-commits at lists.llvm.org
Fri Mar 31 09:20:08 PDT 2017
Author: achurbanov
Date: Fri Mar 31 11:20:07 2017
New Revision: 299230
URL: http://llvm.org/viewvc/llvm-project?rev=299230&view=rev
Log:
Fix for bug https://llvm.org/bugs/show_bug.cgi?id=32456
ITT Notify disabled for static build of OpenMP RTL.
Differential Revision: https://reviews.llvm.org/D31466
Modified:
openmp/trunk/runtime/CMakeLists.txt
Modified: openmp/trunk/runtime/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/runtime/CMakeLists.txt?rev=299230&r1=299229&r2=299230&view=diff
==============================================================================
--- openmp/trunk/runtime/CMakeLists.txt (original)
+++ openmp/trunk/runtime/CMakeLists.txt Fri Mar 31 11:20:07 2017
@@ -307,6 +307,11 @@ if(WIN32 AND NOT LIBOMP_ENABLE_SHARED)
libomp_error_say("Static libraries requested but not available on Windows")
endif()
+if(LIBOMP_USE_ITT_NOTIFY AND NOT LIBOMP_ENABLE_SHARED)
+ message(STATUS "ITT Notify not supported for static libraries - forcing ITT Notify off")
+ set(LIBOMP_USE_ITT_NOTIFY FALSE)
+endif()
+
# OMPT-support
set(LIBOMP_OMPT_DEBUG FALSE CACHE BOOL
"Trace OMPT initialization?")
More information about the Openmp-commits
mailing list