Home | History | Annotate | Download | only in Unit
      1 ## Autogenerated by LLVM/Clang configuration.
      2 # Do not edit!
      3 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
      4 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
      5 config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
      6 config.llvm_build_mode = "@LLVM_BUILD_MODE@"
      7 config.enable_shared = @ENABLE_SHARED@
      8 config.shlibdir = "@SHLIBDIR@"
      9 config.shlibpath_var = "@SHLIBPATH_VAR@"
     10 
     11 # Support substitution of the tools_dir and build_mode with user parameters.
     12 # This is used when we can't determine the tool dir at configuration time.
     13 try:
     14     config.llvm_tools_dir = config.llvm_tools_dir % lit.params
     15     config.llvm_build_mode = config.llvm_build_mode % lit.params
     16 except KeyError,e:
     17     key, = e.args
     18     lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
     19 
     20 # Let the main config do the real work.
     21 lit.load_config(config, "@LLVM_SOURCE_DIR@/test/Unit/lit.cfg")
     22