Bug#871505: openturns: testsuite failure on i386
Steve Langasek
steve.langasek at canonical.com
Mon Aug 14 21:17:47 UTC 2017
Package: openturns
Followup-For: Bug #871505
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu artful ubuntu-patch
Hi folks,
Here is a fix for this build failure on i386; it's fixable by ensuring we
build with -ffloat-store to get IEEE-compliant FP handling.
Hope that helps,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek at ubuntu.com vorlon at debian.org
-------------- next part --------------
diff -Nru openturns-1.7/debian/rules openturns-1.7/debian/rules
--- openturns-1.7/debian/rules 2016-06-21 01:09:35.000000000 -0700
+++ openturns-1.7/debian/rules 2017-08-14 14:14:01.000000000 -0700
@@ -28,7 +28,8 @@
fflags := $(subst -O2,-O1,$(fflags))
endif
ifneq (,$(findstring $(shell dpkg-architecture -qDEB_HOST_ARCH), i386 kfreebsd-i386 hurd-i386))
- cflags += -O0
+ cflags += -O0 -ffloat-store
+ cxxflags += -ffloat-store
endif
ifneq (,$(findstring $(shell dpkg-architecture -qDEB_HOST_ARCH), i386 amd64 ia64))
with_tbb := -DUSE_TBB:BOOL=ON
More information about the debian-science-maintainers
mailing list