[llvm-commits] CVS: llvm/tools/llvm-config/Makefile find-cycles.pl

Reid Spencer reid at x10sys.com
Thu Aug 3 14:46:58 PDT 2006



Changes in directory llvm/tools/llvm-config:

Makefile updated: 1.13 -> 1.14
find-cycles.pl updated: 1.4 -> 1.5
---
Log message:

For PR845: http://llvm.org/PR845 :
Enable the makefile check on the result of find-cycles.pl. LLVM is now
cycle free and we intend to keep it that way. This patch will fail the
build if cycles are found.


---
Diffs of the changes:  (+2 -4)

 Makefile       |    2 +-
 find-cycles.pl |    4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)


Index: llvm/tools/llvm-config/Makefile
diff -u llvm/tools/llvm-config/Makefile:1.13 llvm/tools/llvm-config/Makefile:1.14
--- llvm/tools/llvm-config/Makefile:1.13	Thu Jul 27 18:00:30 2006
+++ llvm/tools/llvm-config/Makefile	Thu Aug  3 16:46:42 2006
@@ -39,7 +39,7 @@
 # don't have to process them at runtime.
 $(FinalLibDeps): find-cycles.pl $(LibDeps)
 	$(Echo) "Finding cyclic dependencies between LLVM libraries."
-	-$(Verb) $(PERL) $< < $(LibDeps) > $@
+	$(Verb) $(PERL) $< < $(LibDeps) > $@
 
 # Rerun our configure substitutions as needed.
 ConfigInIn = $(PROJ_SRC_DIR)/llvm-config.in.in


Index: llvm/tools/llvm-config/find-cycles.pl
diff -u llvm/tools/llvm-config/find-cycles.pl:1.4 llvm/tools/llvm-config/find-cycles.pl:1.5
--- llvm/tools/llvm-config/find-cycles.pl:1.4	Wed Jul 26 16:14:04 2006
+++ llvm/tools/llvm-config/find-cycles.pl	Thu Aug  3 16:46:42 2006
@@ -71,9 +71,7 @@
 }
 print sort @output;
 
-### FIXME: reenable this after 1.8.
-#exit $cycles_found;
-exit 0;
+exit $cycles_found;
 
 #==========================================================================
 #  Depedency Cycle Support






More information about the llvm-commits mailing list