[openblas] 01/01: Add support for sparc64.

Sébastien Villemot sebastien at debian.org
Thu Jun 29 19:12:30 UTC 2017


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

sebastien pushed a commit to branch master
in repository openblas.

commit f216eb0f2d7dd37562d9099ad52cce12a52cb971
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Thu Jun 29 21:11:11 2017 +0200

    Add support for sparc64.
    
    Thanks: James Clarke for the patch
    Closes: #866509
---
 debian/control | 4 ++--
 debian/rules   | 4 ++++
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 65af105..35ea4f1 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/openblas.gi
 
 Package: libopenblas-base
 Section: libs
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el
+Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el sparc64
 Depends: ${shlibs:Depends}, ${misc:Depends}, libblas-common
 Provides: libblas.so.3, liblapack.so.3
 Built-Using: ${Built-Using}
@@ -29,7 +29,7 @@ Description: Optimized BLAS (linear algebra) library (shared library)
 
 Package: libopenblas-dev
 Section: libdevel
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el
+Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el sparc64
 Depends: libopenblas-base (= ${binary:Version}), libblas-dev, ${shlibs:Depends},
  ${misc:Depends}
 Provides: libblas.so, liblapack.so
diff --git a/debian/rules b/debian/rules
index de75b84..0af810f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,6 +48,10 @@ ifeq ($(DEB_HOST_ARCH),ppc64el)
 	GENERIC_OPTIONS += TARGET=POWER8
 endif
 
+ifeq ($(DEB_HOST_ARCH),sparc64)
+	GENERIC_OPTIONS += TARGET=SPARC
+endif
+
 # The testsuite crashes on PowerPC. Disable it by pretending we are
 # cross-compiling.
 ifeq ($(DEB_HOST_ARCH),powerpc)

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



More information about the debian-science-commits mailing list