[Openmp-commits] [PATCH] D50086: [OMPT] Disable by default on Windows
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jul 31 10:53:42 PDT 2018
Hahnfeld created this revision.
Hahnfeld added reviewers: protze.joachim, hbae, jlpeyton, AndreyChurbanov.
Herald added subscribers: openmp-commits, mgorny.
This is broken per PR36561 and PR36574, so disable it for now until
somebody interested can take a look. OMPT can still be activated manually
by passing -DLIBOMP_OMPT_SUPPORT=ON during configuration.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D50086
Files:
README.rst
runtime/CMakeLists.txt
Index: runtime/CMakeLists.txt
===================================================================
--- runtime/CMakeLists.txt
+++ 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
Index: README.rst
===================================================================
--- README.rst
+++ 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``
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50086.158326.patch
Type: text/x-patch
Size: 1063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180731/9d6c82ca/attachment-0001.bin>
More information about the Openmp-commits
mailing list