blob: df90b81055f8b6635f8b3a478bcf7a5443cf30f8 [file] [log] [blame]
Daniel Dunbar7af18d32009-09-17 19:55:53 +00001## Autogenerated by LLVM/Clang configuration.
Douglas Gregor95f29c22009-09-16 22:30:48 +00002# Do not edit!
Daniel Dunbar1b720a92009-09-20 19:04:35 +00003config.llvm_src_root = "@LLVM_SOURCE_DIR@"
4config.llvm_obj_root = "@LLVM_BINARY_DIR@"
Daniel Dunbar7af18d32009-09-17 19:55:53 +00005config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
Daniel Dunbar9e10cc72009-09-26 07:36:09 +00006config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
Andrew Trick70f55bb2011-06-16 21:47:59 +00007config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
Daniel Dunbar1b720a92009-09-20 19:04:35 +00008config.clang_obj_root = "@CLANG_BINARY_DIR@"
Daniel Dunbare9a73232009-11-03 07:25:53 +00009config.target_triple = "@TARGET_TRIPLE@"
Douglas Gregor95f29c22009-09-16 22:30:48 +000010
Daniel Dunbar1e634922009-11-07 23:53:32 +000011# Support substitution of the tools and libs dirs with user parameters. This is
12# used when we can't determine the tool dir at configuration time.
13try:
14 config.llvm_tools_dir = config.llvm_tools_dir % lit.params
15 config.llvm_libs_dir = config.llvm_libs_dir % lit.params
16except KeyError,e:
17 key, = e.args
18 lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
19
Douglas Gregor95f29c22009-09-16 22:30:48 +000020# Let the main config do the real work.
Daniel Dunbard4347cb2009-09-17 00:07:21 +000021lit.load_config(config, "@CLANG_SOURCE_DIR@/test/lit.cfg")