libsamplerate/libsamplerate-0.1.9-reproducible.patch
Takashi Iwai 6deff41703 Accepting request 562897 from home:bmwiedemann:branches:multimedia:libs
Add libsamplerate-0.1.9-reproducible.patch to disable throughput test to make builds reproducible in spite of Profile Guided Optimizations

See https://github.com/bmwiedemann/theunreproduciblepackage/tree/master/pgo
for background and examples

Additionally, this change significantly speeds up package builds.

OBS-URL: https://build.opensuse.org/request/show/562897
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libsamplerate?expand=0&rev=37
2018-01-09 16:32:03 +00:00

14 lines
677 B
Diff

Index: libsamplerate-0.1.9/tests/Makefile.in
===================================================================
--- libsamplerate-0.1.9.orig/tests/Makefile.in
+++ libsamplerate-0.1.9/tests/Makefile.in
@@ -1136,7 +1136,7 @@ check: $(noinst_PROGRAMS)
./varispeed_test
./float_short_test
./snr_bw_test
- ./throughput_test
+ #./throughput_test # disabled to have reproducible builds with PGO - see https://github.com/bmwiedemann/theunreproduciblepackage/tree/master/pgo
@echo "-----------------------------------------------------------------"
@echo " ${PACKAGE}-${VERSION} passed all tests."
@echo "-----------------------------------------------------------------"