Skip to content

Commit

Permalink
Sort input file list
Browse files Browse the repository at this point in the history
so that variables_f.js builds in a reproducible way
in spite of indeterministic filesystem readdir order.

See https://reproducible-builds.org/ for why this is good.

Fixes trilinos#5559
  • Loading branch information
bmwiedemann committed Sep 10, 2019
1 parent 8776f3d commit 5e77a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/build_docs.pl
Expand Up @@ -37,7 +37,7 @@
print "\n";
if(!$skipBuild) {
print "\nGenerating package documentation ...\n";
find (\&buildDocs, $trilinosDir);
find ({wanted=>\&buildDocs, preprocess => sub {sort {$a cmp $b} @_}}, $trilinosDir);
if($build_dir) {
find (\&copyXML, $trilinosDir);
}
Expand Down

0 comments on commit 5e77a89

Please sign in to comment.