[atlas] 05/10: Drop d/p/armhf.diff, no longer needed.

Sébastien Villemot sebastien at debian.org
Fri Jul 29 13:35:38 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository atlas.

commit 979185d73dc0eed7e8533505212eeb0484cf8078
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Fri Jul 29 15:27:00 2016 +0200

    Drop d/p/armhf.diff, no longer needed.
---
 debian/patches/armhf.diff | 28 ----------------------------
 debian/patches/series     |  1 -
 debian/rules              |  5 +++--
 3 files changed, 3 insertions(+), 31 deletions(-)

diff --git a/debian/patches/armhf.diff b/debian/patches/armhf.diff
deleted file mode 100644
index 2f8ac21..0000000
--- a/debian/patches/armhf.diff
+++ /dev/null
@@ -1,28 +0,0 @@
-Description: Do not use soft-float ABI on armhf
- See http://math-atlas.sourceforge.net/errata.html#armhardfp.
- Also remove -mfpu=vfpv3 flag, because some armhf machines have only vfpv3-d16
- (i.e. 16 FPU registers instead of 32).
-Author: Sébastien Villemot <sebastien at debian.org>
-Last-Update: 2013-06-09
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/CONFIG/src/atlcomp.txt
-+++ b/CONFIG/src/atlcomp.txt
-@@ -259,13 +259,13 @@ MACH=P4,PM OS=WinNT,Win64 LVL=0 COMPS=ic
- # ARM defaults
- #
- MACH=ARMv7 OS=ALL LVL=1000 COMPS=xcc
--   'gcc' '-mcpu=cortex-a8 -O1 -mfpu=vfpv3 -mfloat-abi=softfp '
-+   'gcc' '-mcpu=cortex-a8 -O1 '
- MACH=ARMv7 OS=ALL LVL=1000 COMPS=smc,skc,gcc,icc
--   'gcc' '-O1 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=softfp -fno-expensive-optimizations'
-+   'gcc' '-O1 -mcpu=cortex-a8 -mtune=cortex-a8 -fno-expensive-optimizations'
- MACH=ARMv7 OS=ALL LVL=1000 COMPS=dmc,dkc
--   'gcc' '-O1 -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=softfp -fno-schedule-insns2'
-+   'gcc' '-O1 -mcpu=cortex-a8 -mtune=cortex-a8 -fno-schedule-insns2'
- MACH=ARMv7 OS=ALL LVL=1000 COMPS=f77
--   'gfortran' '-mcpu=cortex-a8 -mfpu=vfpv3 -mfloat-abi=softfp -O'
-+   'gfortran' '-mcpu=cortex-a8 -O'
- #
- # Generic defaults
- #
diff --git a/debian/patches/series b/debian/patches/series
index 570c161..e3c2ac4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,7 +10,6 @@ shared_libraries.diff
 22_sh.diff
 kfreebsd.diff
 armel-is-v4t.diff
-armhf.diff
 generic.diff
 ppc64el-abiv2.patch
 ppc64el-ifdef-files-with-lvx.patch
diff --git a/debian/rules b/debian/rules
index 31d5750..4d640a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -70,8 +70,9 @@ GENERIC_CONFIG_PARAMS := \
 	-Ss ADdir ../../../debian/archdefs/$(DEB_HOST_ARCH_CPU) \
 	--cripple-atlas-performance
 
-# The archdefs provided by ATLAS are unsuitable for armhf (see details in
-# armhf.diff patch)
+# The archdefs provided by ATLAS are unsuitable for armhf, because
+# they use the -mfpu=vfpv3 flag, while some armhf machines have only vfpv3-d16
+# (i.e. 16 FPU registers instead of 32).
 #
 # Hence we replace them by new ones without the problematic flags. They are
 # located under debian/archdefs/arm, and used for the generic package.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/atlas.git



More information about the debian-science-commits mailing list