blob: a61920f229bc09cc3c71254cbd0cf278ecd820a4 [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@"
6config.llvmgcc_dir = "@LLVMGCCDIR@"
Andrew Trickc86f24c2011-06-16 21:48:57 +00007config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
Andrew Trick05c087d2011-06-16 01:33:35 +00008config.llvm_build_modes = "@LLVM_BUILD_MODE@".split('+')
Daniel Dunbar9b2cb692010-06-12 16:21:19 +00009config.python_executable = "@PYTHON_EXECUTABLE@"
NAKAMURA Takumib3ccc122010-11-29 00:20:09 +000010config.enable_shared = @ENABLE_SHARED@
Daniel Dunbarfb76ffb2009-09-22 07:38:33 +000011
NAKAMURA Takumid420e7b2010-11-27 13:10:11 +000012# Support substitution of the tools_dir with user parameters. This is
13# used when we can't determine the tool dir at configuration time.
14try:
15 config.llvm_tools_dir = config.llvm_tools_dir % lit.params
16except KeyError,e:
17 key, = e.args
18 lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
19
Daniel Dunbarfb76ffb2009-09-22 07:38:33 +000020# Let the main config do the real work.
21lit.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg")