Package: lapack / 3.7.0-1~bpo8+1

icamax-izamax-extended-precision.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Description: Fix i{c,z}amax behavior on any-i386 and m68k
 On arches with extended precision (any-i386 and m68k), the icamax and izamax
 routines must be compiled with -ffloat-store, in order to avoid the extra
 precision bits which make the test fails.
 .
 The FFLAGS_FLOAT_STORE variable is set by debian/rules.
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: not-needed
Last-Update: 2015-12-24
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/BLAS/SRC/Makefile
+++ b/BLAS/SRC/Makefile
@@ -169,3 +169,9 @@ clean:
 
 .f.o:
 	$(FORTRAN) $(OPTS) -c -o $@ $<
+
+icamax.o: icamax.f
+	$(FORTRAN) $(OPTS) $(FFLAGS_FLOAT_STORE) -c $< -o $@
+
+izamax.o: izamax.f
+	$(FORTRAN) $(OPTS) $(FFLAGS_FLOAT_STORE) -c $< -o $@