Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/openmp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-10-07 18:43:34 +0300
committerJoseph Huber <jhuber6@vols.utk.edu>2022-10-07 19:31:18 +0300
commitdefe072010ac365981f7e95ce07cccc4b64ebaba (patch)
treef91a9b24ba67e65782e0a5a53ad543506986569f /openmp
parentd184045d3656b0e8a0d31c5cbc94860b3edf1f4c (diff)
[Libomptarget] Remove debug definitions DeviceRTL's CMake
These debugging definitions are no longer used in the new runtime. The old runtime has been removed since Clang-14 so we can safely get rid of these leftover variables. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D135452
Diffstat (limited to 'openmp')
-rw-r--r--openmp/libomptarget/DeviceRTL/CMakeLists.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/openmp/libomptarget/DeviceRTL/CMakeLists.txt b/openmp/libomptarget/DeviceRTL/CMakeLists.txt
index 611ebe12f9ec..aba793838104 100644
--- a/openmp/libomptarget/DeviceRTL/CMakeLists.txt
+++ b/openmp/libomptarget/DeviceRTL/CMakeLists.txt
@@ -85,10 +85,6 @@ if (DEFINED LIBOMPTARGET_AMDGCN_GFXLIST)
set(amdgpu_mcpus ${LIBOMPTARGET_AMDGCN_GFXLIST})
endif()
-# Activate RTL message dumps if requested by the user.
-set(LIBOMPTARGET_DEVICE_DEBUG FALSE CACHE BOOL
- "Activate DeviceRTL debug messages.")
-
set(include_files
${include_directory}/Configuration.h
${include_directory}/Debug.h
@@ -136,12 +132,6 @@ set(bc_flags -c -emit-llvm -std=c++17 -fvisibility=hidden
${LIBOMPTARGET_LLVM_INCLUDE_DIRS_DEVICERTL}
)
-if(${LIBOMPTARGET_DEVICE_DEBUG})
- list(APPEND bc_flags -DOMPTARGET_DEBUG=-1)
-else()
- list(APPEND bc_flags -DOMPTARGET_DEBUG=0)
-endif()
-
# first create an object target
add_library(omptarget.devicertl.all_objs OBJECT IMPORTED)
function(compileDeviceRTLLibrary target_cpu target_name target_triple)