Bug#963250: openblas: Please build on armel
Adrian Bunk
bunk at debian.org
Sun Jun 21 12:40:13 BST 2020
Source: openblas
Version: 0.3.9+ds-2
Severity: normal
Tags: patch
A debdiff for building openblas on armel is attached.
-------------- next part --------------
diff -Nru openblas-0.3.9+ds/debian/control openblas-0.3.9+ds/debian/control
--- openblas-0.3.9+ds/debian/control 2020-05-14 11:06:33.000000000 +0000
+++ openblas-0.3.9+ds/debian/control 2020-05-14 11:06:33.000000000 +0000
@@ -18,7 +18,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 armel armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el sparc64 s390x
Multi-Arch: same
Section: metapackages
Depends: ${shlibs:Depends},
@@ -40,7 +40,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 armel armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el sparc64 s390x
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -65,7 +65,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 armel armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el sparc64 s390x
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -90,7 +90,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 armel armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el sparc64 s390x
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -115,7 +115,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 armel armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el sparc64 s390x
Multi-Arch: same
Section: oldlibs
Depends: ${shlibs:Depends},
@@ -139,7 +139,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 armel armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el sparc64 s390x
Multi-Arch: same
Section: metapackages
Depends: libopenblas0 (= ${binary:Version}),
@@ -161,7 +161,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 armel armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el sparc64 s390x
Multi-Arch: same
Section: libdevel
Depends: libopenblas0-pthread (= ${binary:Version}),
@@ -186,7 +186,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 armel armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el sparc64 s390x
Multi-Arch: same
Section: libdevel
Depends: libopenblas0-openmp (= ${binary:Version}),
@@ -211,7 +211,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 armel armhf i386 powerpc ppc64el ppc64 kfreebsd-i386 kfreebsd-amd64 mips64el sparc64 s390x
Multi-Arch: same
Section: libdevel
Depends: libopenblas0-serial (= ${binary:Version}),
diff -Nru openblas-0.3.9+ds/debian/rules openblas-0.3.9+ds/debian/rules
--- openblas-0.3.9+ds/debian/rules 2020-05-14 11:06:33.000000000 +0000
+++ openblas-0.3.9+ds/debian/rules 2020-05-14 11:06:33.000000000 +0000
@@ -22,6 +22,7 @@
# For other archs, there is no dynamic arch selection. To avoid selecting a
# target based on the buildd hardware, we enforce a generic-enough target.
+TARGET_OPTION_armel = TARGET=ARMV5
# We cannot use the ARMv7 profile on armhf, because it requires a 32-register FP unit.
# See kernel/arm/KERNEL.ARMv7: it loads some *_vfpv3.S files, which use 32 registers.
# Also, it FTBFS if GCC flag -mvfpv3 is removed (see arm-gcc-flags.patch), because GCC
More information about the debian-science-maintainers
mailing list