Daniel Dunbar | fb76ffb | 2009-09-22 07:38:33 +0000 | [diff] [blame] | 1 | ## Autogenerated by LLVM/Clang configuration. |
| 2 | # Do not edit! |
Chandler Carruth | 96f41a1 | 2012-06-28 00:16:51 +0000 | [diff] [blame] | 3 | config.target_triple = "@TARGET_TRIPLE@" |
Daniel Dunbar | fb76ffb | 2009-09-22 07:38:33 +0000 | [diff] [blame] | 4 | config.llvm_src_root = "@LLVM_SOURCE_DIR@" |
| 5 | config.llvm_obj_root = "@LLVM_BINARY_DIR@" |
| 6 | config.llvm_tools_dir = "@LLVM_TOOLS_DIR@" |
Chandler Carruth | 96f41a1 | 2012-06-28 00:16:51 +0000 | [diff] [blame] | 7 | config.llvm_shlib_dir = "@SHLIBDIR@" |
| 8 | config.llvm_shlib_ext = "@SHLIBEXT@" |
Andrew Trick | c86f24c | 2011-06-16 21:48:57 +0000 | [diff] [blame] | 9 | config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@" |
Daniel Dunbar | 9b2cb69 | 2010-06-12 16:21:19 +0000 | [diff] [blame] | 10 | config.python_executable = "@PYTHON_EXECUTABLE@" |
Chandler Carruth | 96f41a1 | 2012-06-28 00:16:51 +0000 | [diff] [blame] | 11 | config.ocamlopt_executable = "@OCAMLOPT@" |
NAKAMURA Takumi | b3ccc12 | 2010-11-29 00:20:09 +0000 | [diff] [blame] | 12 | config.enable_shared = @ENABLE_SHARED@ |
Andrew Trick | 75d3387 | 2011-06-23 17:52:36 +0000 | [diff] [blame] | 13 | config.enable_assertions = @ENABLE_ASSERTIONS@ |
Daniel Dunbar | b288ad8 | 2012-10-18 20:43:11 +0000 | [diff] [blame] | 14 | config.lto_is_enabled = "@LTO_IS_ENABLED@" |
Eli Bendersky | 0f0c411 | 2012-02-16 06:28:33 +0000 | [diff] [blame] | 15 | config.targets_to_build = "@TARGETS_TO_BUILD@" |
| 16 | config.llvm_bindings = "@LLVM_BINDINGS@" |
Danil Malyshev | bb8cef5 | 2012-05-17 21:07:47 +0000 | [diff] [blame] | 17 | config.host_os = "@HOST_OS@" |
| 18 | config.host_arch = "@HOST_ARCH@" |
Daniel Dunbar | fb76ffb | 2009-09-22 07:38:33 +0000 | [diff] [blame] | 19 | |
NAKAMURA Takumi | d420e7b | 2010-11-27 13:10:11 +0000 | [diff] [blame] | 20 | # Support substitution of the tools_dir with user parameters. This is |
| 21 | # used when we can't determine the tool dir at configuration time. |
| 22 | try: |
| 23 | config.llvm_tools_dir = config.llvm_tools_dir % lit.params |
| 24 | except KeyError,e: |
| 25 | key, = e.args |
| 26 | lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key)) |
| 27 | |
Daniel Dunbar | fb76ffb | 2009-09-22 07:38:33 +0000 | [diff] [blame] | 28 | # Let the main config do the real work. |
| 29 | lit.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg") |