• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## Autogenerated by LLVM/Clang configuration.
2# Do not edit!
3
4config.llvm_obj_root = "@LLVM_BINARY_DIR@"
5config.llvm_src_root = "@LLVM_SOURCE_DIR@"
6config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
7config.llvm_build_mode = "@LLVM_BUILD_MODE@"
8
9# LLVM tools dir can be passed in lit parameters, so try to
10# apply substitution.
11try:
12  config.llvm_tools_dir = config.llvm_tools_dir % lit.params
13  config.llvm_build_mode = config.llvm_build_mode % lit.params
14except KeyError,e:
15  key, = e.args
16  lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key, key))
17
18# Let the main config do the real work.
19lit.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/Unit/lit.cfg")
20