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