llvm-project/openmp/libomptarget/test
Michael Kruse d97d5ebcfa [libomptarget] Introduce LIBOMPTARGET_ENABLE_DEBUG cmake option.
At the moment, support for runtime debug output using the
OMPTARGET_DEBUG=1 environment variable is only available with
CMAKE_BUILD_TYPE=Debug builds. The patch allows setting it independently
using the LIBOMPTARGET_ENABLE_DEBUG option, which is enabled by default
depending on CMAKE_BUILD_TYPE. That is, unless this option is set
explicitly, nothing changes. This is the same mechanism used by LLVM for
LLVM_ENABLE_ASSERTIONS.

This patch also removes adding -g -O0 in debug builds, it should be
handled by cmake's CMAKE_{C|CXX}_FLAGS_DEBUG configuration option.

Idea by Hal Finkel

Differential Revision: https://reviews.llvm.org/D55952

llvm-svn: 356998
2019-03-26 15:19:15 +00:00
..
api [OpenMP] Add omp_get_device_num() and update several other device API functions 2019-01-03 21:14:19 +00:00
env [OpenMP] libomptarget: move debugging dumps under control of env var LIBOMPTARGET_DEBUG 2017-08-14 15:09:59 +00:00
mapping [OPENMP] Add the test to check that the libomptarget does not cause 2018-09-28 17:13:11 +00:00
offloading [OpenMP] libomptarget: test correction for use with OpenMP 4.5 2017-04-27 18:54:00 +00:00
CMakeLists.txt [libomptarget] Introduce LIBOMPTARGET_ENABLE_DEBUG cmake option. 2019-03-26 15:19:15 +00:00
lit.cfg [libomptaret][test] Announce compiler features 2018-09-05 07:26:00 +00:00
lit.site.cfg.in [libomptarget-nvptx] Add testing infrastructure 2018-09-28 15:05:43 +00:00