blob: 5a42e5c33c167e3c53d26a94ff3308c5dae309e8 [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@
Daniel Dunbarfb76ffb2009-09-22 07:38:33 +000010
NAKAMURA Takumid420e7b2010-11-27 13:10:11 +000011# Support substitution of the tools_dir with user parameters. This is
12# used when we can't determine the tool dir at configuration time.
13try:
14 config.llvm_tools_dir = config.llvm_tools_dir % lit.params
15except KeyError,e:
16 key, = e.args
17 lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
18
Daniel Dunbarfb76ffb2009-09-22 07:38:33 +000019# Let the main config do the real work.
20lit.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg")