mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-01 19:29:22 +00:00
This is another vestige of the DejaGNU roots. There were FIXMEs in the lit setup to add a 'lit.site.cfg', which has been around for quite some time now, so I've properly switched the handling of the 4 things actually used in site.exp to go through lit.site.cfg now. No more parsing of the .exp file, one fewer configure-style generated file, etc., etc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159313 91177308-0d34-0410-b5e6-96231b3b80d8
29 lines
1.1 KiB
INI
29 lines
1.1 KiB
INI
## Autogenerated by LLVM/Clang configuration.
|
|
# Do not edit!
|
|
config.target_triple = "@TARGET_TRIPLE@"
|
|
config.llvm_src_root = "@LLVM_SOURCE_DIR@"
|
|
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
|
|
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
|
|
config.llvm_shlib_dir = "@SHLIBDIR@"
|
|
config.llvm_shlib_ext = "@SHLIBEXT@"
|
|
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
|
|
config.python_executable = "@PYTHON_EXECUTABLE@"
|
|
config.ocamlopt_executable = "@OCAMLOPT@"
|
|
config.enable_shared = @ENABLE_SHARED@
|
|
config.enable_assertions = @ENABLE_ASSERTIONS@
|
|
config.targets_to_build = "@TARGETS_TO_BUILD@"
|
|
config.llvm_bindings = "@LLVM_BINDINGS@"
|
|
config.host_os = "@HOST_OS@"
|
|
config.host_arch = "@HOST_ARCH@"
|
|
|
|
# Support substitution of the tools_dir with user parameters. This is
|
|
# used when we can't determine the tool dir at configuration time.
|
|
try:
|
|
config.llvm_tools_dir = config.llvm_tools_dir % lit.params
|
|
except KeyError,e:
|
|
key, = e.args
|
|
lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
|
|
|
|
# Let the main config do the real work.
|
|
lit.load_config(config, "@LLVM_SOURCE_DIR@/test/lit.cfg")
|