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