[Openmp-commits] [PATCH] D50086: [OMPT] Disable by default on Windows

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Aug 2 07:34:34 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL338721: [OMPT] Disable by default on Windows (authored by Hahnfeld, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D50086?vs=158326&id=158753#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D50086

Files:
  openmp/trunk/README.rst
  openmp/trunk/runtime/CMakeLists.txt


Index: openmp/trunk/README.rst
===================================================================
--- openmp/trunk/README.rst
+++ openmp/trunk/README.rst
@@ -194,7 +194,7 @@
 **LIBOMP_OMPT_SUPPORT** = ``ON|OFF``
   Include support for the OpenMP Tools Interface (OMPT). 
   This option is supported and ``ON`` by default for x86, x86_64, AArch64, and 
-  PPC64 on Linux*, Windows*, and macOS*.
+  PPC64 on Linux* and macOS*.
   This option is ``OFF`` if this feature is not supported for the platform.
 
 **LIBOMP_OMPT_OPTIONAL** = ``ON|OFF``
Index: openmp/trunk/runtime/CMakeLists.txt
===================================================================
--- openmp/trunk/runtime/CMakeLists.txt
+++ openmp/trunk/runtime/CMakeLists.txt
@@ -302,7 +302,7 @@
 # OMPT-support defaults to ON for OpenMP 5.0+ and if the requirements in
 # cmake/config-ix.cmake are fulfilled.
 set(OMPT_DEFAULT FALSE)
-if ((${LIBOMP_OMP_VERSION} GREATER 49) AND (LIBOMP_HAVE_OMPT_SUPPORT))
+if ((${LIBOMP_OMP_VERSION} GREATER 49) AND (LIBOMP_HAVE_OMPT_SUPPORT) AND (NOT WIN32))
   set(OMPT_DEFAULT TRUE)
 endif()
 set(LIBOMP_OMPT_SUPPORT ${OMPT_DEFAULT} CACHE BOOL


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50086.158753.patch
Type: text/x-patch
Size: 1141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180802/9ce218a3/attachment.bin>


More information about the Openmp-commits mailing list