[Openmp-commits] [PATCH] D31466: [OpenMP] Fix for http://bugs.llvm.org/show_bug.cgi?id=32456

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Mar 31 04:54:32 PDT 2017


AndreyChurbanov updated this revision to Diff 93618.
AndreyChurbanov marked 4 inline comments as done.
AndreyChurbanov added a comment.

comments addressed


Repository:
  rL LLVM

https://reviews.llvm.org/D31466

Files:
  runtime/CMakeLists.txt


Index: runtime/CMakeLists.txt
===================================================================
--- runtime/CMakeLists.txt
+++ runtime/CMakeLists.txt
@@ -307,6 +307,11 @@
   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?")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31466.93618.patch
Type: text/x-patch
Size: 547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170331/745bdb66/attachment.bin>


More information about the Openmp-commits mailing list