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_libs_dir = "@LLVM_LIBS_DIR@" 7 config.llvm_build_mode = "@LLVM_BUILD_MODE@" 8 config.clang_obj_root = "@CLANG_BINARY_DIR@" 9 config.enable_shared = @ENABLE_SHARED@ 10 config.shlibdir = "@SHLIBDIR@" 11 config.shlibpath_var = "@SHLIBPATH_VAR@" 12 config.target_triple = "@TARGET_TRIPLE@" 13 14 # Support substitution of the tools_dir, libs_dirs, and build_mode with user 15 # parameters. This is used when we can't determine the tool dir at 16 # configuration time. 17 try: 18 config.llvm_tools_dir = config.llvm_tools_dir % lit.params 19 config.llvm_libs_dir = config.llvm_libs_dir % lit.params 20 config.llvm_build_mode = config.llvm_build_mode % lit.params 21 except KeyError,e: 22 key, = e.args 23 lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key)) 24 25 # Let the main config do the real work. 26 lit.load_config(config, "@CLANG_SOURCE_DIR@/test/Unit/lit.cfg") 27