3 config.bin_llvm_tools_dir = "@CMAKE_BINARY_DIR@/bin"
4 config.test_c_compiler = "@OPENMP_TEST_C_COMPILER@"
5 config.test_cxx_compiler = "@OPENMP_TEST_CXX_COMPILER@"
6 config.test_fortran_compiler="@OPENMP_TEST_Fortran_COMPILER@"
7 config.test_compiler_features = @OPENMP_TEST_COMPILER_FEATURES@
8 config.test_openmp_flags = "@OPENMP_TEST_OPENMP_FLAGS@"
9 config.test_extra_flags = "@OPENMP_TEST_FLAGS@"
10 config.cuda_path = "@CUDA_TOOLKIT_ROOT_DIR@"
11 config.cuda_libdir = "@CUDA_LIBDIR@"
12 config.cuda_test_arch = "@LIBOMPTARGET_DEP_CUDA_ARCH@"
13 config.libomptarget_obj_root = "@CMAKE_CURRENT_BINARY_DIR@/@CURRENT_TARGET@"
14 config.library_dir = "@LIBOMPTARGET_LIBRARY_DIR@"
15 config.llvm_library_dir = "@LIBOMPTARGET_LLVM_LIBRARY_DIR@"
16 config.omp_header_directory = "@LIBOMPTARGET_OPENMP_HEADER_FOLDER@"
17 config.omp_host_rtl_directory = "@LIBOMPTARGET_OPENMP_HOST_RTL_FOLDER@"
18 config.llvm_lib_directory = "@LIBOMPTARGET_LLVM_LIBRARY_DIR@"
19 config.operating_system = "@CMAKE_SYSTEM_NAME@"
20 config.libomptarget_all_targets = "@LIBOMPTARGET_ALL_TARGETS@".split()
21 config.libomptarget_current_target = "@CURRENT_TARGET@"
22 config.libomptarget_filecheck = "@OPENMP_FILECHECK_EXECUTABLE@"
23 config.libomptarget_not = "@OPENMP_NOT_EXECUTABLE@"
24 config.libomptarget_debug = @LIBOMPTARGET_DEBUG@
25 config.has_libomptarget_ompt = @LIBOMPTARGET_OMPT_SUPPORT@
26 config.libomptarget_has_libc = @LIBOMPTARGET_GPU_LIBC_SUPPORT@
28 # Let the main config do the real work.
29 lit_config.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg")