summaryrefslogtreecommitdiff
path: root/lib/tsan/lit_tests/Unit/lit.site.cfg.in
blob: 420cdcaa60ae192c9b268c3822d9891b1ef0d27f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## Autogenerated by LLVM/Clang configuration.
# Do not edit!

config.llvm_obj_root = "@LLVM_BINARY_DIR@"
config.llvm_src_root = "@LLVM_SOURCE_DIR@"
config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
config.llvm_build_mode = "@LLVM_BUILD_MODE@"

# LLVM tools dir can be passed in lit parameters, so try to
# apply substitution.
try:
  config.llvm_tools_dir = config.llvm_tools_dir % lit.params
  config.llvm_build_mode = config.llvm_build_mode % 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, "@CMAKE_CURRENT_SOURCE_DIR@/Unit/lit.cfg")