2009-09-18 03:55:53 +08:00
|
|
|
## Autogenerated by LLVM/Clang configuration.
|
2009-09-17 06:30:48 +08:00
|
|
|
# Do not edit!
|
2009-09-21 03:04:35 +08:00
|
|
|
config.llvm_src_root = "@LLVM_SOURCE_DIR@"
|
|
|
|
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
|
2009-09-18 03:55:53 +08:00
|
|
|
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
|
2009-09-26 15:36:09 +08:00
|
|
|
config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
|
2011-06-17 05:47:59 +08:00
|
|
|
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
|
2009-09-21 03:04:35 +08:00
|
|
|
config.clang_obj_root = "@CLANG_BINARY_DIR@"
|
2009-11-03 15:25:53 +08:00
|
|
|
config.target_triple = "@TARGET_TRIPLE@"
|
2013-03-26 16:28:18 +08:00
|
|
|
config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
|
2009-09-17 06:30:48 +08:00
|
|
|
|
2009-11-08 07:53:32 +08:00
|
|
|
# Support substitution of the tools and libs dirs with user parameters. This is
|
|
|
|
# used when we can't determine the tool dir at configuration time.
|
|
|
|
try:
|
|
|
|
config.llvm_tools_dir = config.llvm_tools_dir % lit.params
|
|
|
|
config.llvm_libs_dir = config.llvm_libs_dir % lit.params
|
|
|
|
except KeyError,e:
|
|
|
|
key, = e.args
|
|
|
|
lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
|
|
|
|
|
2009-09-17 06:30:48 +08:00
|
|
|
# Let the main config do the real work.
|
2009-09-17 08:07:21 +08:00
|
|
|
lit.load_config(config, "@CLANG_SOURCE_DIR@/test/lit.cfg")
|