source: icGREP/icgrep-devel/llvm-3.8.0.src/test/lit.site.cfg.in

Last change on this file was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 2.0 KB
Line 
1import sys
2
3## Autogenerated by LLVM/Clang configuration.
4# Do not edit!
5config.host_triple = "@LLVM_HOST_TRIPLE@"
6config.target_triple = "@TARGET_TRIPLE@"
7config.llvm_src_root = "@LLVM_SOURCE_DIR@"
8config.llvm_obj_root = "@LLVM_BINARY_DIR@"
9config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
10config.llvm_lib_dir = "@LLVM_LIBRARY_DIR@"
11config.llvm_shlib_dir = "@SHLIBDIR@"
12config.llvm_shlib_ext = "@SHLIBEXT@"
13config.llvm_exe_ext = "@EXEEXT@"
14config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
15config.python_executable = "@PYTHON_EXECUTABLE@"
16config.gold_executable = "@GOLD_EXECUTABLE@"
17config.ld64_executable = "@LD64_EXECUTABLE@"
18config.ocamlfind_executable = "@OCAMLFIND@"
19config.have_ocamlopt = "@HAVE_OCAMLOPT@"
20config.have_ocaml_ounit = "@HAVE_OCAML_OUNIT@"
21config.ocaml_flags = "@OCAMLFLAGS@"
22config.include_go_tests = "@LLVM_INCLUDE_GO_TESTS@"
23config.go_executable = "@GO_EXECUTABLE@"
24config.enable_shared = @ENABLE_SHARED@
25config.enable_assertions = @ENABLE_ASSERTIONS@
26config.targets_to_build = "@TARGETS_TO_BUILD@"
27config.native_target = "@LLVM_NATIVE_ARCH@"
28config.llvm_bindings = "@LLVM_BINDINGS@".split(' ')
29config.host_os = "@HOST_OS@"
30config.host_arch = "@HOST_ARCH@"
31config.host_cc = "@HOST_CC@"
32config.host_cxx = "@HOST_CXX@"
33config.host_ldflags = "@HOST_LDFLAGS@"
34config.llvm_use_intel_jitevents = "@LLVM_USE_INTEL_JITEVENTS@"
35config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
36config.have_zlib = "@HAVE_LIBZ@"
37config.have_dia_sdk = @HAVE_DIA_SDK@
38config.enable_ffi = "@LLVM_ENABLE_FFI@"
39config.test_examples = "@ENABLE_EXAMPLES@"
40
41# Support substitution of the tools_dir with user parameters. This is
42# used when we can't determine the tool dir at configuration time.
43try:
44    config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
45    config.llvm_shlib_dir = config.llvm_shlib_dir % lit_config.params
46except KeyError:
47    e = sys.exc_info()[1]
48    key, = e.args
49    lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
50
51# Let the main config do the real work.
52lit_config.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg")
Note: See TracBrowser for help on using the repository browser.