[PATCH] D12850: [Polly] Run polly-check-format with unit tests

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 14 12:13:17 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL247600: Run polly-check-format with unit tests (authored by Meinersbur).

Changed prior to commit:
  http://reviews.llvm.org/D12850?vs=34716&id=34721#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D12850

Files:
  polly/trunk/test/CMakeLists.txt

Index: polly/trunk/test/CMakeLists.txt
===================================================================
--- polly/trunk/test/CMakeLists.txt
+++ polly/trunk/test/CMakeLists.txt
@@ -78,6 +78,14 @@
 
   set_target_properties(check-polly PROPERTIES FOLDER "Polly")
 
+  # Run polly-check-format as part of polly-check only if we are compiling with
+  # clang, so clang-format is availbale.
+  # if (TARGET clang-format) would be preferable, but this target is only added
+  # after Polly, i.e. there is no such target yet at this point.
+  if (LLVM_EXTERNAL_CLANG_BUILD)
+    add_dependencies(check-polly polly-check-format)
+  endif ()
+
 endif (NOT DEFINED LLVM_MAIN_SRC_DIR)
 
 configure_file(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12850.34721.patch
Type: text/x-patch
Size: 696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150914/5f0c137d/attachment.bin>


More information about the llvm-commits mailing list