[llvm-commits] [polly] r170740 - in /polly/branches/release_32/test: CodeGen/OpenMP/lit.local.cfg lit.site.cfg.in

Tobias Grosser grosser at fim.uni-passau.de
Thu Dec 20 12:18:19 PST 2012


Author: grosser
Date: Thu Dec 20 14:18:18 2012
New Revision: 170740

URL: http://llvm.org/viewvc/llvm-project?rev=170740&view=rev
Log:
do not execute the OpenMP tests when cloog is not found

Merged from: https://llvm.org/svn/llvm-project/polly/trunk@168724

Added:
    polly/branches/release_32/test/CodeGen/OpenMP/lit.local.cfg
Modified:
    polly/branches/release_32/test/lit.site.cfg.in

Added: polly/branches/release_32/test/CodeGen/OpenMP/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/test/CodeGen/OpenMP/lit.local.cfg?rev=170740&view=auto
==============================================================================
--- polly/branches/release_32/test/CodeGen/OpenMP/lit.local.cfg (added)
+++ polly/branches/release_32/test/CodeGen/OpenMP/lit.local.cfg Thu Dec 20 14:18:18 2012
@@ -0,0 +1,3 @@
+cloog = config.root.cloog_found
+if cloog not in ['TRUE', 'true'] :
+    config.unsupported = True

Modified: polly/branches/release_32/test/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/polly/branches/release_32/test/lit.site.cfg.in?rev=170740&r1=170739&r2=170740&view=diff
==============================================================================
--- polly/branches/release_32/test/lit.site.cfg.in (original)
+++ polly/branches/release_32/test/lit.site.cfg.in Thu Dec 20 14:18:18 2012
@@ -8,6 +8,7 @@
 config.polly_lib_dir = "@POLLY_LIB_DIR@"
 config.target_triple = "@TARGET_TRIPLE@"
 config.enable_gpgpu_codegen = "@CUDALIB_FOUND@"
+config.cloog_found = "@CLOOG_FOUND@"
 lit.params['build_config'] = "@POLLY_SOURCE_DIR@/test"
 
 ## Check the current platform with regex





More information about the llvm-commits mailing list