For 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29517 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-08-03 21:46:42 +00:00
parent d8c20a9cf8
commit ecfe0888b6
2 changed files with 2 additions and 4 deletions

View File

@ -39,7 +39,7 @@ $(LibDeps): $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/*.a $(LibDir)/*.o)
# 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

View File

@ -71,9 +71,7 @@ foreach my $cycle (@CYCLES) {
}
print sort @output;
### FIXME: reenable this after 1.8.
#exit $cycles_found;
exit 0;
exit $cycles_found;
#==========================================================================
# Depedency Cycle Support