19 lines · plain
1if(LIBOMP_OMPD_SUPPORT)2 3if(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()7endif()8 9set(PYTHON_PLUGIN ${ompd_BINARY_DIR}/gdb-plugin/python-module)10 11# Configure the lit.site.cfg.in file12set(AUTO_GEN_COMMENT "## Autogenerated by libomp configuration.\n# Do not edit!")13configure_file(lit.site.cfg.in lit.site.cfg @ONLY)14add_openmp_testsuite(check-ompd "Running OMPD tests"15 ${CMAKE_CURRENT_BINARY_DIR}16 DEPENDS omp ompd ompdModule ompd_gdb_plugin)17 18endif()19