[med-svn] [Git][med-team/phyx][master] 2 commits: Add i386.patch: removing -ffast-math fixes NaN errors on i387 FPU.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Thu Apr 14 13:16:52 BST 2022
Étienne Mollier pushed to branch master at Debian Med / phyx
Commits:
5de4cb91 by Étienne Mollier at 2022-04-14T14:09:45+02:00
Add i386.patch: removing -ffast-math fixes NaN errors on i387 FPU.
- - - - -
76352be4 by Étienne Mollier at 2022-04-14T14:14:31+02:00
update changelog, resolved TODO item, ready for upload.
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/i386.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,5 +1,6 @@
-phyx (1.3+ds-1) UNRELEASED; urgency=medium
+phyx (1.3+ds-1) unstable; urgency=medium
+ [ Nilesh Patra ]
* Team upload.
* New upstream version
* Standards-Version: 4.5.1 (routine-update)
@@ -8,15 +9,14 @@ phyx (1.3+ds-1) UNRELEASED; urgency=medium
* Enhance d/u/metadata
* d/p/hardening.patch: Propagate hardening options
* d/tests/run-unit-test: Fix file locations
-
- TODO: Does not build on i386
-
- Opened: https://github.com/FePhyFoFum/phyx/issues/144 to address this upstream
-
* d/p/build-more-programs.patch: Also build and vendor pxupgma pxnj
* d/tests/run-unit-test: Fix autopkgtests
+ * Drop link_lnopt.patch
+
+ [ Étienne Mollier ]
+ * Add i386.patch: removing -ffast-math fixes NaN errors on i387 FPU.
- -- Nilesh Patra <nilesh at debian.org> Sat, 10 Jul 2021 20:39:10 +0530
+ -- Étienne Mollier <emollier at debian.org> Thu, 14 Apr 2022 14:12:01 +0200
phyx (1.01+ds-2) unstable; urgency=medium
=====================================
debian/patches/i386.patch
=====================================
@@ -0,0 +1,22 @@
+Description: fix "nan" test failures on i386 caused by -ffast-math
+Author: Étienne Mollier <emollier at debian.org>
+Bug: https://github.com/FePhyFoFum/phyx/issues/145#issuecomment-824866619
+Last-Update: 2022-04-14
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- phyx.orig/src/Makefile.in
++++ phyx/src/Makefile.in
+@@ -32,7 +32,12 @@
+ endif
+
+ ifneq "$(CXX)" "icc"
+- OPT_FLAGS += -ffast-math -ftree-vectorize
++ OPT_FLAGS += -ftree-vectorize
++ ifeq "$(shell uname -m)" "i686"
++ OPT_FLAGS += -ffloat-store
++ else
++ OPT_FLAGS += -ffast-math
++ endif
+ endif
+
+ NLOPT_PROGRAMS :=
=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
hardening.patch
build-more-programs.patch
+i386.patch
View it on GitLab: https://salsa.debian.org/med-team/phyx/-/compare/a6b6468e35429b34dad6fede1e4f493289698b94...76352be48c38b6baa0b612393733207927159f17
--
View it on GitLab: https://salsa.debian.org/med-team/phyx/-/compare/a6b6468e35429b34dad6fede1e4f493289698b94...76352be48c38b6baa0b612393733207927159f17
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220414/e1cae53d/attachment-0001.htm>
More information about the debian-med-commit
mailing list