blob: 8b81186211aa692a67ab11a5a7ed93c4fe7a8e9b [file] [log] [blame]
Daniel Dunbarfb76ffb2009-09-22 07:38:33 +00001## Autogenerated by LLVM/Clang configuration.
2# Do not edit!
3config.llvm_src_root = "@LLVM_SOURCE_DIR@"
4config.llvm_obj_root = "@LLVM_BINARY_DIR@"
5config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
Andrew Trickc86f24c2011-06-16 21:48:57 +00006config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
Daniel Dunbar9b2cb692010-06-12 16:21:19 +00007config.python_executable = "@PYTHON_EXECUTABLE@"
NAKAMURA Takumib3ccc122010-11-29 00:20:09 +00008config.enable_shared = @ENABLE_SHARED@
Andrew Trick75d33872011-06-23 17:52:36 +00009config.enable_assertions = @ENABLE_ASSERTIONS@
Eli Bendersky0f0c4112012-02-16 06:28:33 +000010config.targets_to_build = "@TARGETS_TO_BUILD@"
11config.llvm_bindings = "@LLVM_BINDINGS@"
Daniel Dunbarfb76ffb2009-09-22 07:38:33 +000012
NAKAMURA Takumid420e7b2010-11-27 13:10:11 +000013# Support substitution of the tools_dir with user parameters. This is
14# used when we can't determine the tool dir at configuration time.
15try:
16 config.llvm_tools_dir = config.llvm_tools_dir % lit.params
17except KeyError,e:
18 key, = e.args
19 lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
20
Daniel Dunbarfb76ffb2009-09-22 07:38:33 +000021# Let the main config do the real work.
22lit.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg")