[Openmp-commits] [PATCH] D106682: [OpenMP] [OMPD] Convert the error to warning for enabling OMPD in non-Linux platform

Vignesh Balasubramanian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sun Jul 25 21:07:16 PDT 2021


Vigneshbalu updated this revision to Diff 361577.

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106682/new/

https://reviews.llvm.org/D106682

Files:
  openmp/runtime/CMakeLists.txt


Index: openmp/runtime/CMakeLists.txt
===================================================================
--- openmp/runtime/CMakeLists.txt
+++ openmp/runtime/CMakeLists.txt
@@ -333,7 +333,8 @@
   "OMPD-support?")
 
 if(LIBOMP_OMPD_SUPPORT AND ((NOT LIBOMP_OMPT_SUPPORT) OR (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")))
-  libomp_error_say("OpenMP Debug Interface(OMPD) requested but not available in this implementation")
+  libomp_warning_say("OpenMP Debug Interface(OMPD) requested but not available in this implementation")
+  set(LIBOMP_OMPD_SUPPORT FALSE)
 endif()
 
 # Error check hwloc support after config-ix has run


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106682.361577.patch
Type: text/x-patch
Size: 627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210726/eda799d5/attachment.bin>


More information about the Openmp-commits mailing list