Source: vowpal-wabbit
Version: 7.3-1.1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the "reproducible builds" effort [0], we noticed that
vowpal-wabbit could not be built reproducibly.
The attached patch removes randomness from the build system. Once
applied, vowpal-wabbit can be built reproducibly using our reproducible
toolchain.
[0] https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2015-12-06 16:16:55.363338824 +0200
--- b/debian/rules 2015-12-06 16:45:06.343824458 +0200
@@ -26,6 +26,10 @@
override_dh_installexamples:
dh_installexamples
+ : # Don't ship unreproducible test timings
+ find debian/ -name RunTests.last.times -type f -delete
+ : # Don't ship unreproducible model file
+ find debian/ -name 0001.model -type f -delete
: # Change permissions on windows-generated files
find debian/ -name '*-mswin' -type f | xargs -r chmod a-x