[Openmp-commits] [llvm] [openmp] [WIP] Offload standalone (PR #88957)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Tue Apr 16 13:06:09 PDT 2024


================
@@ -159,13 +168,20 @@ set (LIBOMPTARGET_TESTED_PLUGINS "")
 string( TOLOWER "${CMAKE_BUILD_TYPE}" LIBOMPTARGET_CMAKE_BUILD_TYPE)
 if(LIBOMPTARGET_CMAKE_BUILD_TYPE MATCHES debug)
   option(LIBOMPTARGET_ENABLE_DEBUG "Allow debug output with the environment variable LIBOMPTARGET_DEBUG=1" ON)
+  add_definitions(-DDEBUG)
----------------
jhuber6 wrote:

What's this for? I don't think we want a global definition `DEBUG` set for every compilation.

https://github.com/llvm/llvm-project/pull/88957


More information about the Openmp-commits mailing list