17af18d359f6eff022a7a55335705b018a3c191d7Daniel Dunbar## Autogenerated by LLVM/Clang configuration. 295f29c2703facd98141330b4957568387b2a3d15Douglas Gregor# Do not edit! 31b720a90f20801c67bdd9036e1e6f3d222816665Daniel Dunbarconfig.llvm_src_root = "@LLVM_SOURCE_DIR@" 41b720a90f20801c67bdd9036e1e6f3d222816665Daniel Dunbarconfig.llvm_obj_root = "@LLVM_BINARY_DIR@" 57af18d359f6eff022a7a55335705b018a3c191d7Daniel Dunbarconfig.llvm_tools_dir = "@LLVM_TOOLS_DIR@" 69e10cc7a4c1e5b620bf4d5c90d4e452b3ae04c81Daniel Dunbarconfig.llvm_libs_dir = "@LLVM_LIBS_DIR@" 770f55bb1046b6b2a0fb5db78582a840cec5ac8c2Andrew Trickconfig.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@" 81b720a90f20801c67bdd9036e1e6f3d222816665Daniel Dunbarconfig.clang_obj_root = "@CLANG_BINARY_DIR@" 9e9a7323737fce01eba34bae27fcb37f09f71560dDaniel Dunbarconfig.target_triple = "@TARGET_TRIPLE@" 1095f29c2703facd98141330b4957568387b2a3d15Douglas Gregor 111e63492a1408c0152251cc9e77cf42b7fd53169fDaniel Dunbar# Support substitution of the tools and libs dirs with user parameters. This is 121e63492a1408c0152251cc9e77cf42b7fd53169fDaniel Dunbar# used when we can't determine the tool dir at configuration time. 131e63492a1408c0152251cc9e77cf42b7fd53169fDaniel Dunbartry: 141e63492a1408c0152251cc9e77cf42b7fd53169fDaniel Dunbar config.llvm_tools_dir = config.llvm_tools_dir % lit.params 151e63492a1408c0152251cc9e77cf42b7fd53169fDaniel Dunbar config.llvm_libs_dir = config.llvm_libs_dir % lit.params 161e63492a1408c0152251cc9e77cf42b7fd53169fDaniel Dunbarexcept KeyError,e: 171e63492a1408c0152251cc9e77cf42b7fd53169fDaniel Dunbar key, = e.args 181e63492a1408c0152251cc9e77cf42b7fd53169fDaniel Dunbar lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key)) 191e63492a1408c0152251cc9e77cf42b7fd53169fDaniel Dunbar 2095f29c2703facd98141330b4957568387b2a3d15Douglas Gregor# Let the main config do the real work. 21d4347cb9e2e322db75bdcf419ba02ac1565f615eDaniel Dunbarlit.load_config(config, "@CLANG_SOURCE_DIR@/test/lit.cfg") 22