Martin Uecker pushed to branch master at Debian Med / bart
Commits:
3e3e19a7 by Martin Uecker at 2026-06-05T14:13:14+02:00
try to fix floating point errors on i386
- - - - -
1 changed file:
- debian/rules
Changes:
=====================================
debian/rules
=====================================
@@ -15,22 +15,24 @@ ifneq (,$(filter $(NOEXPOPT_ARCHS), $(DEB_BUILD_ARCH)))
export DEB_CFLAGS_MAINT_APPEND = -fno-expensive-optimizations
endif
-export AR_LOCK_NEEDED=0
+# i385
+NOIEEE_ARCHS=i386 hurd-i386
-# Some tests fail on the following architectures probably
-# due to minor differences in floating point processing.
-# For now, just turn it off...
-NOTEST_ARCHS=i386 hurd-i386
+ifneq (,$(filter $(NOIEEE_ARCHS), $(DEB_BUILD_ARCH)))
+export DEB_CFLAGS_MAINT_APPEND = -mfpmath=sse
+endif
+
+# this is required for reproducible builds (and needs recent version of make)
+export AR_LOCK_NEEDED=0
# For this architesture the test will be run but it will pass in any case even
when errors occure
-PRINT_ERRORS_WHEN_TESTING=sh4 m68k alpha
+PRINT_ERRORS_WHEN_TESTING=sh4 m68k
%:
dh $@
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-ifeq (,$(filter $(NOTEST_ARCHS), $(DEB_BUILD_ARCH)))
ifeq (,$(filter $(PRINT_ERRORS_WHEN_TESTING), $(DEB_BUILD_ARCH)))
make utest
else
@@ -38,4 +40,3 @@ else
make utest || true
endif
endif
-endif
View it on GitLab:
https://salsa.debian.org/med-team/bart/-/commit/3e3e19a7d0e9f40aa4919cdde65a54cc9ebb71c5
--
View it on GitLab:
https://salsa.debian.org/med-team/bart/-/commit/3e3e19a7d0e9f40aa4919cdde65a54cc9ebb71c5
You're receiving this email because of your account on salsa.debian.org. Manage
all notifications: https://salsa.debian.org/-/profile/notifications | Help:
https://salsa.debian.org/help
_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit