Debian Codegraph @

openmp/runtime/test/lit.site.cfg.in

raw
1 @AUTO_GEN_COMMENT@
2
3 config.test_c_compiler = "@OPENMP_TEST_C_COMPILER@"
4 config.test_cxx_compiler = "@OPENMP_TEST_CXX_COMPILER@"
5 config.test_fortran_compiler = "@OPENMP_TEST_Fortran_COMPILER@"
6 config.test_compiler_features = @OPENMP_TEST_COMPILER_FEATURES@
7 config.test_compiler_has_omp_h = @OPENMP_TEST_COMPILER_HAS_OMP_H@
8 config.test_filecheck = "@OPENMP_FILECHECK_EXECUTABLE@"
9 config.test_not = "@OPENMP_NOT_EXECUTABLE@"
10 config.test_openmp_flags = "@OPENMP_TEST_OPENMP_FLAGS@"
11 config.test_extra_flags = "@OPENMP_TEST_FLAGS@"
12 config.libomp_obj_root = "@CMAKE_CURRENT_BINARY_DIR@"
13 config.library_dir = "@LIBOMP_LIBRARY_DIR@"
14 config.omp_header_directory = "@LIBOMP_BINARY_DIR@/src"
15 config.operating_system = "@CMAKE_SYSTEM_NAME@"
16 config.target_triple = "@LLVM_TARGET_TRIPLE@"
17 config.hwloc_library_dir = "@LIBOMP_HWLOC_LIBRARY_DIR@"
18 config.using_hwloc = @LIBOMP_USE_HWLOC@
19 config.has_ompt = @LIBOMP_OMPT_SUPPORT@ and @LIBOMP_OMPT_OPTIONAL@
20 config.has_ompx_taskgraph = @LIBOMP_OMPX_TASKGRAPH@
21 config.has_libm = @LIBOMP_HAVE_LIBM@
22 config.has_libatomic = @LIBOMP_HAVE_LIBATOMIC@
23 config.is_standalone_build = @OPENMP_STANDALONE_BUILD@
24 config.has_omit_frame_pointer_flag = @OPENMP_TEST_COMPILER_HAS_OMIT_FRAME_POINTER_FLAGS@
25 config.target_arch = "@LIBOMP_ARCH@"
26 config.compiler_frontend_variant = "@CMAKE_C_COMPILER_FRONTEND_VARIANT@"
27 config.compiler_simulate_id = "@CMAKE_C_SIMULATE_ID@"
28 config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
29
30 import lit.llvm
31 lit.llvm.initialize(lit_config, config)
32
33 # Let the main config do the real work.
34 lit_config.load_config(config, "@LIBOMP_BASE_DIR@/test/lit.cfg")