Blame SOURCES/lit.fedora.cfg.py

0f4209
import tempfile
0f4209
0f4209
compiler = '%(libomp_compiler)s' % lit_config.params
0f4209
config.test_filecheck = '%(bindir)s/FileCheck' % lit_config.params
0f4209
config.omp_header_directory = '%(includedir)s' % lit_config.params
0f4209
config.libomp_obj_root = tempfile.mkdtemp()
0f4209
config.library_dir = '%(libdir)s' % lit_config.params
0f4209
test_root = '%(libomp_test_root)s' % lit_config.params
0f4209
0f4209
# Lit will default to the compiler used to build openmp, which is gcc, but we
0f4209
# want to run the tests using clang.
17a66c
config.test_compiler_features = ['clang', 'clang-11']
0f4209
config.test_c_compiler = 'clang'
0f4209
config.test_cxx_compiler = 'clang++'
0f4209
lit_config.load_config(config, '%(libomp_test_root)s/lit.cfg' % lit_config.params)