Bug#981048: openblas: enable dynamic arch support on s390x [PATCH]
Gianfranco Costamagna
locutusofborg at debian.org
Mon Jan 25 18:49:09 GMT 2021
Source: openblas
Version: 0.3.13+ds-1
tags: patch
Hello, the attached patch works to enable dynamic arch support on s390x.
This works after the upstream fixes for gcc detection on s390x arch.
G.
-------------- next part --------------
diff -Nru openblas-0.3.13+ds/debian/changelog openblas-0.3.13+ds/debian/changelog
--- openblas-0.3.13+ds/debian/changelog 2020-12-17 13:53:00.000000000 +0100
+++ openblas-0.3.13+ds/debian/changelog 2021-01-25 19:46:47.000000000 +0100
@@ -1,3 +1,11 @@
+openblas (0.3.13+ds-1ubuntu1) hirsute; urgency=low
+
+ * Merge from Debian unstable. Remaining changes:
+ - Enable dynamic arch support on s390x. LP: #1893653
+ Also change control file references, thanks Marius Hillenbrand (mhillen)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Mon, 25 Jan 2021 19:46:47 +0100
+
openblas (0.3.13+ds-1) unstable; urgency=medium
* New upstream version 0.3.13+ds
@@ -20,6 +28,12 @@
-- Sébastien Villemot <sebastien at debian.org> Mon, 26 Oct 2020 17:52:08 +0100
+openblas (0.3.10+ds-3ubuntu1) groovy; urgency=medium
+
+ * Enable dynamic arch support on s390x. LP: #1893653
+
+ -- Dimitri John Ledkov <xnox at ubuntu.com> Thu, 17 Sep 2020 15:37:04 +0100
+
openblas (0.3.10+ds-3) unstable; urgency=medium
[ Mo Zhou ]
diff -Nru openblas-0.3.13+ds/debian/control openblas-0.3.13+ds/debian/control
--- openblas-0.3.13+ds/debian/control 2020-12-17 13:51:33.000000000 +0100
+++ openblas-0.3.13+ds/debian/control 2021-01-25 19:46:45.000000000 +0100
@@ -1,5 +1,6 @@
Source: openblas
-Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
Uploaders: Sébastien Villemot <sebastien at debian.org>,
Mo Zhou <lumin at debian.org>
Section: devel
@@ -32,7 +33,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
For more information on how to rebuild locally OpenBLAS, see the section:
"Building Optimized OpenBLAS Packages on your ARCH" in README.Debian
@@ -55,7 +56,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
For more information on how to rebuild locally OpenBLAS, see the section:
"Building Optimized OpenBLAS Packages on your ARCH" in README.Debian
@@ -80,7 +81,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
For more information on how to rebuild locally OpenBLAS, see the section:
"Building Optimized OpenBLAS Packages on your ARCH" in README.Debian
@@ -105,7 +106,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
For more information on how to rebuild locally OpenBLAS, see the section:
"Building Optimized OpenBLAS Packages on your ARCH" in README.Debian
@@ -128,7 +129,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
For more information on how to rebuild locally OpenBLAS, see the section:
"Building Optimized OpenBLAS Packages on your ARCH" in README.Debian
@@ -151,7 +152,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
This package includes the static libraries and symbolic links
needed for program development.
@@ -173,7 +174,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
This package includes the static libraries and symbolic links
needed for program development.
@@ -197,7 +198,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
This package includes the static libraries and symbolic links
needed for program development.
@@ -221,7 +222,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
This package includes the static libraries and symbolic links
needed for program development.
@@ -242,7 +243,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
For more information on how to rebuild locally OpenBLAS, see the section:
"Building Optimized OpenBLAS Packages on your ARCH" in README.Debian
@@ -263,7 +264,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
For more information on how to rebuild locally OpenBLAS, see the section:
"Building Optimized OpenBLAS Packages on your ARCH" in README.Debian
@@ -284,7 +285,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
For more information on how to rebuild locally OpenBLAS, see the section:
"Building Optimized OpenBLAS Packages on your ARCH" in README.Debian
@@ -305,7 +306,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
For more information on how to rebuild locally OpenBLAS, see the section:
"Building Optimized OpenBLAS Packages on your ARCH" in README.Debian
@@ -325,7 +326,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
This package includes the static libraries and symbolic links
needed for program development.
@@ -346,7 +347,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
This package includes the static libraries and symbolic links
needed for program development.
@@ -367,7 +368,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
This package includes the static libraries and symbolic links
needed for program development.
@@ -388,7 +389,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
This package includes the static libraries and symbolic links
needed for program development.
@@ -409,7 +410,7 @@
Unlike Atlas, OpenBLAS provides a multiple architecture library.
.
All kernel will be included in the library and dynamically switched to the
- best architecture at run time (only on amd64, arm64, i386 and ppc64el).
+ best architecture at run time (only on amd64, arm64, i386, ppc64el and s390x).
.
For more information on how to rebuild locally OpenBLAS, see the section:
"Building Optimized OpenBLAS Packages on your ARCH" in README.Debian
diff -Nru openblas-0.3.13+ds/debian/rules openblas-0.3.13+ds/debian/rules
--- openblas-0.3.13+ds/debian/rules 2020-12-17 13:50:11.000000000 +0100
+++ openblas-0.3.13+ds/debian/rules 2020-12-17 22:46:48.000000000 +0100
@@ -18,7 +18,7 @@
# Architectures with dynamic arch selection
# TARGET=GENERIC is needed to avoid FTBFS when CPU detection fails (see #923607)
-ENABLE_DYNAMIC_ARCHS := amd64 arm64 i386 kfreebsd-amd64 kfreebsd-i386 ppc64el
+ENABLE_DYNAMIC_ARCHS := amd64 arm64 i386 kfreebsd-amd64 kfreebsd-i386 ppc64el s390x
ifneq (,$(findstring $(DEB_HOST_ARCH),$(ENABLE_DYNAMIC_ARCHS)))
GENERIC_OPTIONS += DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 TARGET=GENERIC
endif
More information about the debian-science-maintainers
mailing list