forked from pool/mvapich2
f8a6950e6f
- Update to mvapich2 2.3.6 - Enhanced performance for UD-Hybrid code - Add multi-rail support for UD-Hybrid code - Enhanced performance for shared-memory collectives - Enhanced job-startup performance for flux job launcher - Use PMI2 by default when SLURM is selected as process manager - Add support to use aligned memory allocations for multi-threaded applications - Architecture detection and enhanced point-to-point tuning for Oracle BM.HPC2 cloud shape - Add support for GCC compiler v11 - Update hwloc v1 code to v1.11.14 - Update hwloc v2 code to v2.4.2 - Drop obsolete patches: - fix-missing-return-code.patch as it was fixed upstream - mvapich2-remove-deprecated-sys_siglist.patch - rdma_find_network_type-return-MV2_NETWORK_CLASS_UNKNOWN-when-dev_list-is-freed.patch - Refresh reproducible.patch OBS-URL: https://build.opensuse.org/request/show/894097 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=82
100 lines
3.4 KiB
Diff
100 lines
3.4 KiB
Diff
commit a99404dac8f07ec7e72aa244ff0527d9c85ad482
|
|
Author: Bernhard M. Wiedemann <bwiedemann@suse.de>
|
|
Date: Mon Mar 25 11:12:56 2019 +0100
|
|
|
|
reproducible
|
|
|
|
Sort input file list so that mpich builds in a reproducible way
|
|
in spite of indeterministic filesystem readdir order
|
|
|
|
See https://reproducible-builds.org/ for why this is good.
|
|
|
|
Without this patch, README.envvar, /usr/lib64/mpi/gcc/mpich/bin/mpivars
|
|
and other output files varied between builds.
|
|
|
|
Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
|
|
|
|
diff --git maint/extractcvars.in maint/extractcvars.in
|
|
index b627a6f8d937..0eaa673adf1e 100755
|
|
--- maint/extractcvars.in
|
|
+++ maint/extractcvars.in
|
|
@@ -594,7 +594,7 @@ sub ExpandDir {
|
|
my @subdirs = ();
|
|
my $DIR_HANDLE;
|
|
opendir $DIR_HANDLE, "$dir" or die "Error: open directory $dir -- $!\n";
|
|
- while (my $filename = readdir $DIR_HANDLE) {
|
|
+ for my $filename (sort readdir $DIR_HANDLE) {
|
|
if ($filename =~ /^\./) {
|
|
next;
|
|
} elsif (-d "$dir/$filename") {
|
|
diff --git maint/extractfixme.in maint/extractfixme.in
|
|
index 6b2567f037ed..7636fad296b8 100644
|
|
--- maint/extractfixme.in
|
|
+++ maint/extractfixme.in
|
|
@@ -114,7 +114,7 @@ sub ExpandDir {
|
|
my @otherdirs = ();
|
|
my @files = ();
|
|
opendir DIR, "$dir";
|
|
- while ($filename = readdir DIR) {
|
|
+ for $filename (sort readdir DIR) {
|
|
if ($filename =~ /^\./ || $filename eq ".svn") {
|
|
next;
|
|
}
|
|
diff --git maint/extractstrings.in maint/extractstrings.in
|
|
index 4e8a599c89ca..449a8c007499 100644
|
|
--- maint/extractstrings.in
|
|
+++ maint/extractstrings.in
|
|
@@ -73,7 +73,7 @@ sub GetFileNamesInDirectory {
|
|
my @filesFound = ();
|
|
|
|
opendir DIR, $dir || die "Could not open $dir\n";
|
|
- while (my $file = readdir DIR) {
|
|
+ for my $file (sort readdir DIR) {
|
|
if (! -f "$dir/$file") { next; }
|
|
if ($file =~ /^\.$/ || $file =~ /^\.\.$/) { next; }
|
|
if ($file =~ /$pattern/) {
|
|
@@ -246,7 +246,7 @@ sub processDirs {
|
|
my @dirs = ();
|
|
# Find the directories
|
|
opendir DIR, "$dir" || die "Cannot open $dir\n";
|
|
- while (my $file = readdir DIR) {
|
|
+ for my $file (sort readdir DIR) {
|
|
if (! -d "$dir/$file") { next; }
|
|
if ($file =~ /^\./) { next; }
|
|
if ($file =~ /^.svn/) { next; }
|
|
@@ -273,7 +273,7 @@ sub processDirsAndAction {
|
|
my @dirs = ();
|
|
# Find the directories
|
|
opendir DIR, "$dir" || die "Cannot open $dir\n";
|
|
- while (my $file = readdir DIR) {
|
|
+ for my $file (sort readdir DIR) {
|
|
if (! -d "$dir/$file") { next; }
|
|
if ($file =~ /^\./) { next; }
|
|
if ($file =~ /^.svn/) { next; }
|
|
diff --git maint/gen_subcfg_m4 maint/gen_subcfg_m4
|
|
index 80654263401d..34cb19ed0649 100755
|
|
--- maint/gen_subcfg_m4
|
|
+++ maint/gen_subcfg_m4
|
|
@@ -118,7 +118,7 @@ while (my $dir = pop @dirstack) {
|
|
# the stack to continue the traversal
|
|
opendir DH, $dir
|
|
or die "unable to open dir='$dir', stopped";
|
|
- my @contents = readdir DH;
|
|
+ my @contents = sort readdir DH;
|
|
foreach my $f (@contents) {
|
|
# avoid endless recursion
|
|
next if $f eq "." || $f eq "..";
|
|
diff --git maint/getcoverage.in maint/getcoverage.in
|
|
index c9c69f299261..f4fc35be72f6 100644
|
|
--- maint/getcoverage.in
|
|
+++ maint/getcoverage.in
|
|
@@ -779,7 +779,7 @@ sub ExpandDir {
|
|
my @otherdirs = ();
|
|
my @files = ();
|
|
opendir DIR, "$dir";
|
|
- while ($filename = readdir DIR) {
|
|
+ for $filename (sort readdir DIR) {
|
|
if ($filename =~ /^\./ || $filename eq ".svn") {
|
|
next;
|
|
}
|