blob: 9643507b164082b4afe6bdf5ddff6b21e1c493b0 [file] [log] [blame]
Daniel Dunbar0ab04bc2009-11-08 09:07:51 +00001## Autogenerated by LLVM/Clang configuration.
2# Do not edit!
3config.llvm_src_root = "@LLVM_SOURCE_DIR@"
4config.llvm_obj_root = "@LLVM_BINARY_DIR@"
5config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
6config.llvmgcc_dir = "@LLVMGCCDIR@"
7config.llvm_build_mode = "@LLVM_BUILD_MODE@"
Jeffrey Yasskin6b718f72010-02-25 06:34:33 +00008config.enable_shared = @ENABLE_SHARED@
NAKAMURA Takumi4fc56f02010-11-29 00:20:21 +00009config.shlibdir = "@SHLIBDIR@"
Jeffrey Yasskin6b718f72010-02-25 06:34:33 +000010config.shlibpath_var = "@SHLIBPATH_VAR@"
Daniel Dunbar0ab04bc2009-11-08 09:07:51 +000011
NAKAMURA Takumif80507c2010-11-27 13:10:11 +000012# Support substitution of the tools_dir and build_mode with user parameters.
13# This is used when we can't determine the tool dir at configuration time.
14try:
15 config.llvm_tools_dir = config.llvm_tools_dir % lit.params
16 config.llvm_build_mode = config.llvm_build_mode % lit.params
17except KeyError,e:
18 key, = e.args
19 lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
20
Daniel Dunbar0ab04bc2009-11-08 09:07:51 +000021# Let the main config do the real work.
22lit.load_config(config, "@LLVM_SOURCE_DIR@/test/Unit/lit.cfg")