[Openmp-commits] [PATCH] D31466: [OpenMP] Fix for http://bugs.llvm.org/show_bug.cgi?id=32456
Phabricator via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Mar 31 09:32:31 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL299230: Fix for bug https://llvm.org/bugs/show_bug.cgi?id=32456 (authored by achurbanov).
Changed prior to commit:
https://reviews.llvm.org/D31466?vs=93618&id=93671#toc
Repository:
rL LLVM
https://reviews.llvm.org/D31466
Files:
openmp/trunk/runtime/CMakeLists.txt
Index: openmp/trunk/runtime/CMakeLists.txt
===================================================================
--- openmp/trunk/runtime/CMakeLists.txt
+++ openmp/trunk/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.93671.patch
Type: text/x-patch
Size: 586 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170331/234e0a5b/attachment.bin>
More information about the Openmp-commits
mailing list