Introduce KMP_COMPILER_ICX macro to represent compilation with oneAPI compiler. Fixup flag detection and compiler ID detection in CMake. Older CMake's detect IntelLLVM as Clang. Fix compiler warnings. Fixup many of the tests to have non-empty parallel regions as they are elided by oneAPI compiler.
24 lines
1.1 KiB
INI
24 lines
1.1 KiB
INI
@AUTO_GEN_COMMENT@
|
|
|
|
config.test_c_compiler = "@OPENMP_TEST_C_COMPILER@"
|
|
config.test_cxx_compiler = "@OPENMP_TEST_CXX_COMPILER@"
|
|
config.test_compiler_features = @OPENMP_TEST_COMPILER_FEATURES@
|
|
config.test_filecheck = "@OPENMP_FILECHECK_EXECUTABLE@"
|
|
config.test_not = "@OPENMP_NOT_EXECUTABLE@"
|
|
config.test_openmp_flags = "@OPENMP_TEST_OPENMP_FLAGS@"
|
|
config.test_extra_flags = "@OPENMP_TEST_FLAGS@"
|
|
config.libomp_obj_root = "@CMAKE_CURRENT_BINARY_DIR@"
|
|
config.library_dir = "@LIBOMP_LIBRARY_DIR@"
|
|
config.omp_header_directory = "@LIBOMP_BINARY_DIR@/src"
|
|
config.operating_system = "@CMAKE_SYSTEM_NAME@"
|
|
config.hwloc_library_dir = "@LIBOMP_HWLOC_LIBRARY_DIR@"
|
|
config.using_hwloc = @LIBOMP_USE_HWLOC@
|
|
config.has_ompt = @LIBOMP_OMPT_SUPPORT@ and @LIBOMP_OMPT_OPTIONAL@
|
|
config.has_libm = @LIBOMP_HAVE_LIBM@
|
|
config.has_libatomic = @LIBOMP_HAVE_LIBATOMIC@
|
|
config.is_standalone_build = @OPENMP_STANDALONE_BUILD@
|
|
config.has_omit_frame_pointer_flag = @OPENMP_TEST_COMPILER_HAS_OMIT_FRAME_POINTER_FLAGS@
|
|
|
|
# Let the main config do the real work.
|
|
lit_config.load_config(config, "@LIBOMP_BASE_DIR@/test/lit.cfg")
|