8000 sort input files · matplotlib/matplotlib@65f3906 · GitHub
[go: up one dir, main page]

Skip to content

Commit 65f3906

Browse files
bmwiedemannjklymak
authored andcommitted
sort input files
when building packages (e.g. for openSUSE Linux) (random) filesystem order of input files influences ordering of functions in the output, thus without the patch, builds (in disposable VMs) would usually differ. See https://reproducible-builds.org/ for why this matters.
1 parent 03c00d7 commit 65f3906

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ def add_flags(self, ext):
13411341
default_libraries=['qhull'])
13421342
else:
13431343
ext.include_dirs.append('extern')
1344-
ext.sources.extend(glob.glob('extern/libqhull/*.c'))
1344+
ext.sources.extend(sorted(glob.glob('extern/libqhull/*.c')))
13451345

13461346

13471347
class TTConv(SetupPackage):

0 commit comments

Comments
 (0)
0