[SCM] ATLAS packaging for Debian branch, master, updated. upstream/3.8.4-29-gdc4f105

Sébastien Villemot sebastien at debian.org
Sat Jun 8 07:55:08 UTC 2013


The following commit has been merged in the master branch:
commit 65d0dfae5f434283e7cb83bc683229b8192c587a
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Sat Jun 8 09:53:40 2013 +0200

    debian/rules: on armhf, define the ATL_ARM_HARDFP flag
    
    Otherwise the asm constructs use the soft-float ABI for passing floating points

diff --git a/debian/changelog b/debian/changelog
index 9a8f8e8..1f28669 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,12 @@ atlas (3.10.1-1) UNRELEASED; urgency=low
     libblas.so.3 alternative and make them always present, so that
     software relying on these libs do not break when another alternative
     is selected for BLAS
+  * ATLAS now has improved ARM support with native asm constructs. This required
+    the following tunes:
+    + armel-is-v4t.diff: new patch, prevents FTBFS on armel; otherwise,
+      ATLAS uses asm constructs too recent for the platform (armel is only v4t)
+    + debian/rules: on armhf, define the ATL_ARM_HARDFP flag; otherwise the asm
+      constructs use the soft-float ABI for passing floating points
   * Add libblas.a as slave in the libblas.so alternative (Closes: #701921)
   * Add symlinks for lib{f77blas,atlas}.a in /usr/lib (Closes: #666203)
   * Modify shlibs file of libatlas3-base, such that packages using
@@ -31,8 +37,6 @@ atlas (3.10.1-1) UNRELEASED; urgency=low
     package (Closes: #697431)
   * Bump Standards-Version to 3.9.4. As a consequence, add Built-Using
     fields because the package embeds stuff from liblapack-pic
-  * armel-is-v4t.diff: new patch, prevents FTBFS on armel; otherwise,
-    ATLAS uses asm constructs too recent for the platform
 
  -- Sylvestre Ledru <sylvestre at debian.org>  Mon, 16 Jul 2012 14:57:17 +0200
 
diff --git a/debian/rules b/debian/rules
index 2686fbf..7caf659 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,6 +48,11 @@ COMMON_CONFIG_PARAMS := --prefix="$(DEB_DESTDIR)" 	\
 	-V $$atlasISA 									\
 	-v 2
 
+# See http://math-atlas.sourceforge.net/errata.html#armhardfp
+ifeq ($(DEB_HOST_ARCH),armhf)
+COMMON_CONFIG_PARAMS += -D c -DATL_ARM_HARDFP=1
+endif
+
 # Build a custom package optimized for the current arch
 custom: custom-stamp
 .PHONY: custom

-- 
ATLAS packaging for Debian



More information about the debian-science-commits mailing list