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

Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 27 04:56:00 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG23eced9ead21: Convert the error to warning for enabling OMPD in non-Linux platform (authored by Vignesh Balasubramanian <Vignesh.Balasubrmanian at amd.com>).

Repository:
  rG LLVM Github Monorepo

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.361979.patch
Type: text/x-patch
Size: 627 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210727/96d5cdd9/attachment.bin>


More information about the Openmp-commits mailing list