Daniel Dunbar | fb76ffb | 2009-09-22 07:38:33 +0000 | [diff] [blame] | 1 | ## Autogenerated by LLVM/Clang configuration. |
| 2 | # Do not edit! |
| 3 | config.llvm_src_root = "@LLVM_SOURCE_DIR@" |
| 4 | config.llvm_obj_root = "@LLVM_BINARY_DIR@" |
| 5 | config.llvm_tools_dir = "@LLVM_TOOLS_DIR@" |
| 6 | config.llvmgcc_dir = "@LLVMGCCDIR@" |
Andrew Trick | c86f24c | 2011-06-16 21:48:57 +0000 | [diff] [blame^] | 7 | config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@" |
Andrew Trick | 05c087d | 2011-06-16 01:33:35 +0000 | [diff] [blame] | 8 | config.llvm_build_modes = "@LLVM_BUILD_MODE@".split('+') |
Daniel Dunbar | 9b2cb69 | 2010-06-12 16:21:19 +0000 | [diff] [blame] | 9 | config.python_executable = "@PYTHON_EXECUTABLE@" |
NAKAMURA Takumi | b3ccc12 | 2010-11-29 00:20:09 +0000 | [diff] [blame] | 10 | config.enable_shared = @ENABLE_SHARED@ |
Daniel Dunbar | fb76ffb | 2009-09-22 07:38:33 +0000 | [diff] [blame] | 11 | |
NAKAMURA Takumi | d420e7b | 2010-11-27 13:10:11 +0000 | [diff] [blame] | 12 | # Support substitution of the tools_dir with user parameters. This is |
| 13 | # used when we can't determine the tool dir at configuration time. |
| 14 | try: |
| 15 | config.llvm_tools_dir = config.llvm_tools_dir % lit.params |
| 16 | except KeyError,e: |
| 17 | key, = e.args |
| 18 | lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key)) |
| 19 | |
Daniel Dunbar | fb76ffb | 2009-09-22 07:38:33 +0000 | [diff] [blame] | 20 | # Let the main config do the real work. |
| 21 | lit.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg") |