Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / openmp / libompd / test / CMakeLists.txt
blob35b96b1af2ccb7324a31a891c4c4c53efa5aa7a1
1 if(LIBOMP_OMPD_SUPPORT)
3 if(NOT OPENMP_TEST_COMPILER_ID STREQUAL "Clang")
4   message(STATUS "LIBOMPD: Can only test with Clang compiler")
5   message(WARNING "LIBOMPD: The check-libompd target will not be available!")
6   return()
7 endif()
9 set(PYTHON_PLUGIN ${ompd_BINARY_DIR}/gdb-plugin/python-module)
11 # Configure the lit.site.cfg.in file
12 set(AUTO_GEN_COMMENT "## Autogenerated by libomp configuration.\n# Do not edit!")
13 configure_file(lit.site.cfg.in lit.site.cfg @ONLY)
14 add_openmp_testsuite(check-ompd "Running OMPD tests"
15   ${CMAKE_CURRENT_BINARY_DIR}
16   DEPENDS omp ompd ompd_gdb_plugin)
18 endif()