Bug#866509: openblas: Please enable on sparc64

James Clarke jrtc27 at debian.org
Thu Jun 29 17:15:37 UTC 2017


Source: openblas
Version: 0.2.19-3
Tags: patch
User: debian-sparc at lists.debian.org
Usertags: sparc64
X-Debbugs-Cc: debian-sparc at lists.debian.org

Hi,
The upstream code supports 64-bit SPARC; please apply the attached
debdiff to enable the build.

Regards,
James
-------------- next part --------------
diff -Nru openblas-0.2.19/debian/control openblas-0.2.19/debian/control
--- openblas-0.2.19/debian/control	2017-01-23 14:09:05.000000000 +0000
+++ openblas-0.2.19/debian/control	2017-06-29 17:16:00.000000000 +0100
@@ -12,7 +12,7 @@

 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 @@

 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 -Nru openblas-0.2.19/debian/rules openblas-0.2.19/debian/rules
--- openblas-0.2.19/debian/rules	2017-01-23 14:11:43.000000000 +0000
+++ openblas-0.2.19/debian/rules	2017-06-29 17:16:00.000000000 +0100
@@ -48,6 +48,10 @@
 	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)


More information about the debian-science-maintainers mailing list