blob: 9827a6852a1e483be22d949f14bbbf7e9bf9377b [file] [log] [blame]
Alexey Samsonovdd6605e2013-06-06 12:35:48 +00001## Autogenerated by LLVM/Clang configuration.
2# Do not edit!
3
4# Generic config options for all compiler-rt lit tests.
5config.target_triple = "@TARGET_TRIPLE@"
Alexey Samsonovad785cb2013-06-06 13:28:37 +00006config.host_arch = "@HOST_ARCH@"
Alexey Samsonovdd6605e2013-06-06 12:35:48 +00007config.host_os = "@HOST_OS@"
Alexey Samsonovad785cb2013-06-06 13:28:37 +00008config.llvm_build_mode = "@LLVM_BUILD_MODE@"
Alexey Samsonovdd6605e2013-06-06 12:35:48 +00009config.llvm_src_root = "@LLVM_SOURCE_DIR@"
10config.llvm_obj_root = "@LLVM_BINARY_DIR@"
11config.compiler_rt_src_root = "@COMPILER_RT_SOURCE_DIR@"
12config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
13config.clang = "@LLVM_BINARY_DIR@/bin/clang"
14config.compiler_rt_arch = "@COMPILER_RT_SUPPORTED_ARCH@"
15
16# LLVM tools dir can be passed in lit parameters, so try to
17# apply substitution.
18try:
Daniel Dunbara1b15b42013-08-09 22:14:01 +000019 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
Alexey Samsonovdd6605e2013-06-06 12:35:48 +000020except KeyError,e:
21 key, = e.args
Daniel Dunbara1b15b42013-08-09 22:14:01 +000022 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key, key))
Alexey Samsonovdd6605e2013-06-06 12:35:48 +000023
24# Setup attributes common for all compiler-rt projects.
Daniel Dunbara1b15b42013-08-09 22:14:01 +000025lit_config.load_config(config, "@COMPILER_RT_SOURCE_DIR@/lib/lit.common.cfg")