• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Autogenerated by LLVM/Clang configuration.
2# Do not edit!
3config.target_triple = "@TARGET_TRIPLE@"
4config.llvm_src_root = "@LLVM_SOURCE_DIR@"
5config.llvm_obj_root = "@LLVM_BINARY_DIR@"
6config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
7config.llvm_shlib_dir = "@SHLIBDIR@"
8config.llvm_shlib_ext = "@SHLIBEXT@"
9config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
10config.python_executable = "@PYTHON_EXECUTABLE@"
11config.ocamlopt_executable = "@OCAMLOPT@"
12config.enable_shared = @ENABLE_SHARED@
13config.enable_assertions = @ENABLE_ASSERTIONS@
14config.targets_to_build = "@TARGETS_TO_BUILD@"
15config.llvm_bindings = "@LLVM_BINDINGS@"
16config.host_os = "@HOST_OS@"
17config.host_arch = "@HOST_ARCH@"
18
19# Support substitution of the tools_dir with user parameters. This is
20# used when we can't determine the tool dir at configuration time.
21try:
22    config.llvm_tools_dir = config.llvm_tools_dir % lit.params
23except KeyError,e:
24    key, = e.args
25    lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
26
27# Let the main config do the real work.
28lit.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg")
29