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