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@" |
Andrew Trick | c86f24c | 2011-06-16 21:48:57 +0000 | [diff] [blame] | 6 | config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@" |
Daniel Dunbar | 9b2cb69 | 2010-06-12 16:21:19 +0000 | [diff] [blame] | 7 | config.python_executable = "@PYTHON_EXECUTABLE@" |
NAKAMURA Takumi | b3ccc12 | 2010-11-29 00:20:09 +0000 | [diff] [blame] | 8 | config.enable_shared = @ENABLE_SHARED@ |
Andrew Trick | 75d3387 | 2011-06-23 17:52:36 +0000 | [diff] [blame] | 9 | config.enable_assertions = @ENABLE_ASSERTIONS@ |
Daniel Dunbar | fb76ffb | 2009-09-22 07:38:33 +0000 | [diff] [blame] | 10 | |
NAKAMURA Takumi | d420e7b | 2010-11-27 13:10:11 +0000 | [diff] [blame] | 11 | # Support substitution of the tools_dir with user parameters. This is |
| 12 | # used when we can't determine the tool dir at configuration time. |
| 13 | try: |
| 14 | config.llvm_tools_dir = config.llvm_tools_dir % lit.params |
| 15 | except KeyError,e: |
| 16 | key, = e.args |
| 17 | lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key)) |
| 18 | |
Daniel Dunbar | fb76ffb | 2009-09-22 07:38:33 +0000 | [diff] [blame] | 19 | # Let the main config do the real work. |
| 20 | lit.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg") |