forked from OSchip/llvm-project
31 lines
875 B
INI
31 lines
875 B
INI
## Autogenerated by LLVM/Clang configuration.
|
|
#config.mpvs_src_root = "/home/ichoyjx/install/openmp/testsuite/bin/c"
|
|
config.mpvs_obj_root = "/tmp"
|
|
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
|
|
|
|
|
|
# Needed to check if a hack needs to be applied
|
|
config.llvm_version_major = "@LLVM_VERSION_MAJOR@"
|
|
|
|
# Compilers
|
|
# FIXME: use llvmcc not llvmgcc
|
|
config.llvmclang = "clang"
|
|
|
|
# Features
|
|
config.enable_uclibc = True if @ENABLE_UCLIBC@ == 1 else False
|
|
config.enable_posix_runtime = True if @ENABLE_POSIX_RUNTIME@ == 1 else False
|
|
config.have_selinux = True if @HAVE_SELINUX@ == 1 else False
|
|
|
|
# Current target
|
|
config.target_triple = "@TARGET_TRIPLE@"
|
|
|
|
# Let the main config do the real work.
|
|
try:
|
|
lit
|
|
except NameError:
|
|
# Use lit_config class
|
|
lit_config.load_config(config, "@MPVS_SOURCE_DIR@/lit.cfg")
|
|
else:
|
|
# Use old lit class
|
|
lit.load_config(config, "@MPVS_SOURCE_DIR@/lit.cfg")
|