Your message dated Wed, 27 Jan 2021 06:20:36 +0000
with message-id <[email protected]>
and subject line Bug#978633: fixed in openblas 0.3.13+ds-2
has caused the Debian Bug report #978633,
regarding openblas: Please enabled support for riscv64
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
978633: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978633
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: openblas
Version: 0.3.13+ds-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: riscv64
Hi,
openblas got support for riscv64 a few month ago. To enable support on
riscv64, small changes are needed to the debian/rules and debian/control
files, as well as a small fix for getarch.c that I have submitted
upstream: https://github.com/xianyi/OpenBLAS/pull/3050
I have attached the whole patch needed to add support for riscv64 to
this bug report. Would it be possible to include it in the next upload?
Thanks,
Aurelien
--- openblas-0.3.13+ds/debian/control 2020-12-17 12:51:33.000000000 +0000
+++ openblas-0.3.13+ds/debian/control 2020-12-28 11:08:31.000000000 +0000
@@ -7,7 +7,7 @@
Build-Depends: debhelper-compat (= 13),
gfortran,
liblapack-dev (>= 3.9.0-3~),
- liblapack64-dev (>= 3.9.0-3~) [amd64 arm64 ppc64el ppc64
kfreebsd-amd64 mips64el sparc64 s390x],
+ liblapack64-dev (>= 3.9.0-3~) [amd64 arm64 ppc64el ppc64
kfreebsd-amd64 mips64el riscv64 sparc64 s390x],
Standards-Version: 4.5.1
Vcs-Browser: https://salsa.debian.org/science-team/openblas
Vcs-Git: https://salsa.debian.org/science-team/openblas.git
@@ -17,7 +17,7 @@
# 32-bit indexing version
Package: libopenblas0
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el sparc64 s390x
+Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el riscv64 sparc64 s390x
Multi-Arch: same
Section: metapackages
Depends: ${misc:Depends},
@@ -38,7 +38,7 @@
"Building Optimized OpenBLAS Packages on your ARCH" in README.Debian
Package: libopenblas0-pthread
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el sparc64 s390x
+Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el riscv64 sparc64 s390x
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -63,7 +63,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=0 INTERFACE64=0
Package: libopenblas0-openmp
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el sparc64 s390x
+Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el riscv64 sparc64 s390x
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -88,7 +88,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=1 INTERFACE64=0
Package: libopenblas0-serial
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el sparc64 s390x
+Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el riscv64 sparc64 s390x
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -113,7 +113,7 @@
Configuration: USE_THREAD=0 USE_OPENMP=0 INTERFACE64=0
Package: libopenblas-base
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el sparc64 s390x
+Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el riscv64 sparc64 s390x
Multi-Arch: same
Section: oldlibs
Depends: ${misc:Depends},
@@ -136,7 +136,7 @@
This is a transitional dummy package, which can be safely removed.
Package: libopenblas-dev
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el sparc64 s390x
+Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el riscv64 sparc64 s390x
Multi-Arch: same
Section: metapackages
Depends: libopenblas0 (= ${binary:Version}),
@@ -157,7 +157,7 @@
needed for program development.
Package: libopenblas-pthread-dev
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el sparc64 s390x
+Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el riscv64 sparc64 s390x
Multi-Arch: same
Section: libdevel
Depends: libopenblas0-pthread (= ${binary:Version}),
@@ -181,7 +181,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=0 INTERFACE64=0
Package: libopenblas-openmp-dev
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el sparc64 s390x
+Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el riscv64 sparc64 s390x
Multi-Arch: same
Section: libdevel
Depends: libopenblas0-openmp (= ${binary:Version}),
@@ -205,7 +205,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=1 INTERFACE64=0
Package: libopenblas-serial-dev
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el sparc64 s390x
+Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 kfreebsd-i386
kfreebsd-amd64 mips64el riscv64 sparc64 s390x
Multi-Arch: same
Section: libdevel
Depends: libopenblas0-serial (= ${binary:Version}),
@@ -231,7 +231,7 @@
# 64-bit indexing version
Package: libopenblas64-0
-Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el sparc64 s390x
+Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el riscv64
sparc64 s390x
Multi-Arch: same
Section: metapackages
Depends: ${misc:Depends},
@@ -250,7 +250,7 @@
This metapackage provides a 64-bit indexing version.
Package: libopenblas64-0-pthread
-Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el sparc64 s390x
+Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el riscv64
sparc64 s390x
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -271,7 +271,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=0 INTERFACE64=1
Package: libopenblas64-0-openmp
-Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el sparc64 s390x
+Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el riscv64
sparc64 s390x
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -292,7 +292,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=1 INTERFACE64=1
Package: libopenblas64-0-serial
-Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el sparc64 s390x
+Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el riscv64
sparc64 s390x
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -313,7 +313,7 @@
Configuration: USE_THREAD=0 USE_OPENMP=0 INTERFACE64=1
Package: libopenblas64-dev
-Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el sparc64 s390x
+Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el riscv64
sparc64 s390x
Multi-Arch: same
Section: metapackages
Depends: libopenblas64-0 (= ${binary:Version}),
@@ -333,7 +333,7 @@
This metapackage provides a 64-bit indexing version.
Package: libopenblas64-pthread-dev
-Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el sparc64 s390x
+Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el riscv64
sparc64 s390x
Multi-Arch: same
Section: libdevel
Depends: libopenblas64-0-pthread (= ${binary:Version}),
@@ -354,7 +354,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=0 INTERFACE64=1
Package: libopenblas64-openmp-dev
-Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el sparc64 s390x
+Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el riscv64
sparc64 s390x
Multi-Arch: same
Section: libdevel
Depends: libopenblas64-0-openmp (= ${binary:Version}),
@@ -375,7 +375,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=1 INTERFACE64=1
Package: libopenblas64-serial-dev
-Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el sparc64 s390x
+Architecture: amd64 arm64 kfreebsd-amd64 ppc64 ppc64el mips64el riscv64
sparc64 s390x
Multi-Arch: same
Section: libdevel
Depends: libopenblas64-0-serial (= ${binary:Version}),
--- openblas-0.3.13+ds/debian/patches/riscv64-supported.patch 1970-01-01
00:00:00.000000000 +0000
+++ openblas-0.3.13+ds/debian/patches/riscv64-supported.patch 2020-12-28
11:08:44.000000000 +0000
@@ -0,0 +1,10 @@
+--- openblas-0.3.13+ds.orig/getarch.c
++++ openblas-0.3.13+ds/getarch.c
+@@ -1375,6 +1375,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+
+ #ifdef __riscv
+ #include "cpuid_riscv64.c"
++#define OPENBLAS_SUPPORTED
+ #endif
+
+ #ifdef __arm__
--- openblas-0.3.13+ds/debian/patches/series 2020-12-17 12:48:33.000000000
+0000
+++ openblas-0.3.13+ds/debian/patches/series 2020-12-28 11:08:44.000000000
+0000
@@ -5,3 +5,4 @@
shared-blas-lapack.patch
matgen-symbols-not-included.patch
gensymbols-fix-detect-netlib.patch
+riscv64-supported.patch
--- openblas-0.3.13+ds/debian/rules 2020-12-17 12:50:11.000000000 +0000
+++ openblas-0.3.13+ds/debian/rules 2020-12-28 11:08:44.000000000 +0000
@@ -43,6 +43,7 @@
# See
https://buildd.debian.org/status/fetch.php?pkg=openblas&arch=ppc64&ver=0.3.6%2Bds-1&stamp=1562602383&raw=0
# POWER6 is the most generic arch that compiles on ppc64
TARGET_OPTION_ppc64 = TARGET=POWER6
+TARGET_OPTION_riscv64 = TARGET=RISCV64_GENERIC
TARGET_OPTION_sparc64 = TARGET=SPARC
TARGET_OPTION_s390x = TARGET=ZARCH_GENERIC
GENERIC_OPTIONS += $(TARGET_OPTION_$(DEB_HOST_ARCH))
--- End Message ---
--- Begin Message ---
Source: openblas
Source-Version: 0.3.13+ds-2
Done: Mo Zhou <[email protected]>
We believe that the bug you reported is fixed in the latest version of
openblas, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mo Zhou <[email protected]> (supplier of updated openblas package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 27 Jan 2021 13:56:54 +0800
Source: openblas
Architecture: source
Version: 0.3.13+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team
<[email protected]>
Changed-By: Mo Zhou <[email protected]>
Closes: 978633 981048
Changes:
openblas (0.3.13+ds-2) unstable; urgency=medium
.
[ Gianfranco Costamagna ]
* Enable dynamic arch support on s390x. (LP: #1893653) (Closes: #981048)
+ Also change control file references, thanks Marius Hillenbrand (mhillen)
.
[ Aurelien Jarno ]
* Enable support for riscv64 (Closes: #978633)
Checksums-Sha1:
cc1d3ce5dde3c93f2072810634220ec0d029bde1 5068 openblas_0.3.13+ds-2.dsc
b0e3f144e402e457145f9c6adda5192f682ac3a2 22972
openblas_0.3.13+ds-2.debian.tar.xz
86413cdca71f0da85bf2385edddef4a5cc3f0758 5777
openblas_0.3.13+ds-2_source.buildinfo
Checksums-Sha256:
54474aba3e2bb0f669fc95dd5860bee43395c7367c34774a4564b26dfbcde73f 5068
openblas_0.3.13+ds-2.dsc
df16d90b12fce62f9e0b90a7fa88c9748d255f4eef8ca21c2225c20437f56427 22972
openblas_0.3.13+ds-2.debian.tar.xz
d974a6eff314f8d28fcf10c725d1dec688f52b800b79aad7d0458a45aea646ab 5777
openblas_0.3.13+ds-2_source.buildinfo
Files:
1dc30e7c5435bcdc4c0694061c46f976 5068 devel optional openblas_0.3.13+ds-2.dsc
85bf4d908962168d96321e78bace9091 22972 devel optional
openblas_0.3.13+ds-2.debian.tar.xz
49a3fe825f594a43b342481f6cb26873 5777 devel optional
openblas_0.3.13+ds-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEY4vHXsHlxYkGfjXeYmRes19oaooFAmARATERHGx1bWluQGRl
Ymlhbi5vcmcACgkQYmRes19oaopn3RAAhyz5UhYfALshjRpPwpPJZhU9H3IW6ow9
dymFTo0cMkgXwk/QYXbwxOurym42CMHJD2HpU0ClRzPYtJZObq8co5NMPapUVs4S
iUiJCBQ3azcZ8iNfQd9+2u6j0aqZC8k2WXWHHlp1+3CZzwKO9N10ujHNuxxatTzC
94fNAMXohS6DO0OVFarkoqaN/rHL8QeI14H1DbGdmGJkAe6rSMla7GtDkyB7TTJ3
EGivcIbgfOy66kx4dsbChHAdBn1M/8lHI1P2B3oyEaN6zD1c3n6tH/d0G0++GjeH
Hx+7bxXb8hkAHvKxgvIMSR6sKWM6ikYc4g19Jo4waMn6vF30sdjhNMWrBkkGru18
NtgSC0PUVw6rAAJo7i9W5ziaVS0JappObVxmhYILKtEqyu0vvcB4vnZvjw+jVh06
fBVETLRhvGcwYHeVDcV6OshKjc8Koi/ISROimdt3Ns+KbCEnZSm/UoOlaLgnbVtE
hNuXzea4c88l9IH1asT4hfbhUKMEF/WW25viMv9wK49kvWTyoepah5Q7lhlXcJk1
rPnr65Nrxdkqkdcu4DRahERkS3E9yjocAe8R1MnZj6W6h3CK4IFAZJnKYzsKOwzw
I0JF6g85U85xusDdpefgkrrL5+N5XEWAySXdWM7MFoLyf76xf0gSF+UL391kdIod
h/OFdk9slsE=
=Fr3d
-----END PGP SIGNATURE-----
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers