Tobias Grosser | 7580537 | 2011-04-29 06:27:02 | [diff] [blame^] | 1 | ## Autogenerated by LLVM/Polly 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.polly_obj_root = "@POLLY_BINARY_DIR@" |
| 8 | config.target_triple = "@TARGET_TRIPLE@" |
| 9 | lit.params['build_config'] = "@POLLY_SOURCE_DIR@/test" |
| 10 | |
| 11 | # 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. |
| 13 | try: |
| 14 | config.llvm_tools_dir = config.llvm_tools_dir % lit.params |
| 15 | config.llvm_libs_dir = config.llvm_libs_dir % lit.params |
| 16 | except KeyError,e: |
| 17 | key, = e.args |
| 18 | lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key)) |
| 19 | |
| 20 | config.substitutions.append(('%loadPolly', '-load ' |
| 21 | + config.llvm_libs_dir + '/LLVMPolly.so ')) |
| 22 | config.substitutions.append(('%defaultOpts', ' -basicaa -polly-prepare -polly-region-simplify -scev-aa ')) |
| 23 | config.substitutions.append(('%polybenchOpts', ' -O3 -loop-simplify -indvars ')) |
| 24 | |
| 25 | # Let the main config do the real work. |
| 26 | lit.load_config(config, "@POLLY_SOURCE_DIR@/test/lit.cfg") |