Alexey Samsonov | dd6605e | 2013-06-06 12:35:48 +0000 | [diff] [blame] | 1 | ## Autogenerated by LLVM/Clang configuration. |
| 2 | # Do not edit! |
| 3 | |
| 4 | # Generic config options for all compiler-rt lit tests. |
| 5 | config.target_triple = "@TARGET_TRIPLE@" |
Alexey Samsonov | ad785cb | 2013-06-06 13:28:37 +0000 | [diff] [blame] | 6 | config.host_arch = "@HOST_ARCH@" |
Alexey Samsonov | dd6605e | 2013-06-06 12:35:48 +0000 | [diff] [blame] | 7 | config.host_os = "@HOST_OS@" |
Alexey Samsonov | ad785cb | 2013-06-06 13:28:37 +0000 | [diff] [blame] | 8 | config.llvm_build_mode = "@LLVM_BUILD_MODE@" |
Alexey Samsonov | dd6605e | 2013-06-06 12:35:48 +0000 | [diff] [blame] | 9 | config.llvm_src_root = "@LLVM_SOURCE_DIR@" |
| 10 | config.llvm_obj_root = "@LLVM_BINARY_DIR@" |
| 11 | config.compiler_rt_src_root = "@COMPILER_RT_SOURCE_DIR@" |
| 12 | config.llvm_tools_dir = "@LLVM_TOOLS_DIR@" |
| 13 | config.clang = "@LLVM_BINARY_DIR@/bin/clang" |
| 14 | config.compiler_rt_arch = "@COMPILER_RT_SUPPORTED_ARCH@" |
| 15 | |
| 16 | # LLVM tools dir can be passed in lit parameters, so try to |
| 17 | # apply substitution. |
| 18 | try: |
Daniel Dunbar | a1b15b4 | 2013-08-09 22:14:01 +0000 | [diff] [blame] | 19 | config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params |
Alexey Samsonov | dd6605e | 2013-06-06 12:35:48 +0000 | [diff] [blame] | 20 | except KeyError,e: |
| 21 | key, = e.args |
Daniel Dunbar | a1b15b4 | 2013-08-09 22:14:01 +0000 | [diff] [blame] | 22 | lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key, key)) |
Alexey Samsonov | dd6605e | 2013-06-06 12:35:48 +0000 | [diff] [blame] | 23 | |
| 24 | # Setup attributes common for all compiler-rt projects. |
Daniel Dunbar | a1b15b4 | 2013-08-09 22:14:01 +0000 | [diff] [blame] | 25 | lit_config.load_config(config, "@COMPILER_RT_SOURCE_DIR@/lib/lit.common.cfg") |