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

Sébastien Villemot sebastien at debian.org
Wed Jun 5 19:54:46 UTC 2013


The following commit has been merged in the master branch:
commit 2bcbd4a6d3dfe5e10aab1cf070d2a385993bbea8
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Wed Jun 5 19:28:27 2013 +0200

    Simplify detection of bitwidth using dpkg-architecture

diff --git a/debian/rules b/debian/rules
index 7ab0add..216f2fa 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,20 +25,7 @@ ARCHS=base_0_1
 endif
 
 # Pointer bitwidth
-MODE_BITWIDTH = 32
-
-ifeq ($(DEB_HOST_ARCH_CPU),amd64)
-MODE_BITWIDTH = 64
-endif
-
-ifeq ($(DEB_HOST_ARCH_CPU),ia64)
-MODE_BITWIDTH = 64
-endif
-
-ifeq ($(DEB_HOST_ARCH_CPU),ppc64)
-# Power PC 64
-MODE_BITWIDTH = 64
-endif
+MODE_BITWIDTH = $(shell dpkg-architecture -qDEB_HOST_ARCH_BITS)
 
 DEB_SHLIBDEPS_INCLUDE_libatlas3-base := $(CURDIR)/debian/libatlas3-base/usr/lib/atlas-base/:$(CURDIR)/debian/libatlas3-base/usr/lib/atlas-base/atlas/
 

-- 
ATLAS packaging for Debian



More information about the debian-science-commits mailing list