Home | History | Annotate | Download | only in lit_tests
      1 ## Autogenerated by LLVM/Clang configuration.
      2 # Do not edit!
      3 
      4 config.clang = "@LLVM_BINARY_DIR@/bin/clang"
      5 config.host_os = "@HOST_OS@"
      6 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
      7 config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
      8 config.target_triple = "@TARGET_TRIPLE@"
      9 
     10 # LLVM tools dir can be passed in lit parameters, so try to
     11 # apply substitution.
     12 try:
     13   config.llvm_tools_dir = config.llvm_tools_dir % lit.params
     14 except 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.
     19 lit.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg")
     20