Removed usage of "sort", which can lead to undeterministic behavior on mingw & cygwin platforms.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29532 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Anton Korobeynikov 2006-08-04 21:52:23 +00:00
parent cf65fb6503
commit de9c02b171
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ GenLibDeps = $(PROJ_SRC_ROOT)/utils/GenLibDeps.pl
$(LibDeps): $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/*.a $(LibDir)/*.o)
$(Echo) "Regenerating LibDeps.txt"
$(Verb) $(GenLibDeps) -flat $(LibDir) $(NM_PATH) | sort > $(LibDeps)
$(Verb) $(GenLibDeps) -flat $(LibDir) $(NM_PATH)
# Find all the cyclic dependencies between various LLVM libraries, so we
# don't have to process them at runtime.

View File

@ -29,7 +29,7 @@ sub find_all_cycles;
# Read our dependency information.
while (<>) {
chomp;
my ($module, $dependency_str) = /^([^:]*): ?(.*)$/;
my ($module, $dependency_str) = /^\s*([^:]+):\s*(.*)\s*$/;
die "Malformed data: $_" unless defined $dependency_str;
my @dependencies = split(/ /, $dependency_str);
$DEPS{$module} = \@dependencies;

View File

@ -275,7 +275,7 @@ sub load_dependencies {
$DEPENDENCIES_LOADED = 1;
while (<DATA>) {
# Parse our line.
my ($libs, $deps) = /^\s*([^:]+):\s+(.*)\s*$/;
my ($libs, $deps) = /^\s*([^:]+):\s*(.*)\s*$/;
die "Malformed dependency data" unless defined $deps;
my @libs = split(' ', $libs);
my @deps = split(' ', $deps);