Bug#1107581: openblas: Please enable build on alpha
John Paul Adrian Glaubitz
glaubitz at physik.fu-berlin.de
Tue Jun 10 08:55:49 BST 2025
Source: openblas
Version: 0.3.29+ds-3
Severity: normal
Tags: patch
User: debian-alpha at lists.debian.org
Usertags: alpha
X-Debbugs-Cc: debian-alpha at lists.debian.org
Hi,
openblas is still supported on alpha, so it would be great if the build could
be enabled there. This would enable additional reverse build dependencies on
alpha. Upstream recently fixed a minor bug on alpha as well that I reported [1].
I have attached a diff which patches the Debian package to enable alpha support.
Thanks,
Adrian
> [1] https://github.com/OpenMathLib/OpenBLAS/pull/5214
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
-------------- next part --------------
diff -Nru orig/openblas-0.3.29+ds/debian/control new/openblas-0.3.29+ds/debian/control
--- orig/openblas-0.3.29+ds/debian/control 2025-01-28 02:08:14.000000000 +0100
+++ new/openblas-0.3.29+ds/debian/control 2025-03-30 22:30:42.535684076 +0200
@@ -8,7 +8,7 @@
debhelper (>= 12.8~),
gfortran,
liblapack-dev (>= 3.12),
- liblapack64-dev (>= 3.12) [amd64 arm64 ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64],
+ liblapack64-dev (>= 3.12) [alpha amd64 arm64 ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64],
Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/science-team/openblas
Vcs-Git: https://salsa.debian.org/science-team/openblas.git
@@ -18,7 +18,7 @@
# 32-bit indexing version
Package: libopenblas0
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: metapackages
Depends: ${misc:Depends},
@@ -39,7 +39,7 @@
your machine? in README.Debian.
Package: libopenblas0-pthread
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -64,7 +64,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=0 INTERFACE64=0
Package: libopenblas0-openmp
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -89,7 +89,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=1 INTERFACE64=0
Package: libopenblas0-serial
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -114,7 +114,7 @@
Configuration: USE_THREAD=0 USE_OPENMP=0 INTERFACE64=0
Package: libopenblas-dev
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: metapackages
Depends: libopenblas0 (= ${binary:Version}),
@@ -138,7 +138,7 @@
needed for program development.
Package: libopenblas-pthread-dev
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libdevel
Depends: libopenblas0-pthread (= ${binary:Version}),
@@ -165,7 +165,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=0 INTERFACE64=0
Package: libopenblas-openmp-dev
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libdevel
Depends: libopenblas0-openmp (= ${binary:Version}),
@@ -192,7 +192,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=1 INTERFACE64=0
Package: libopenblas-serial-dev
-Architecture: amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 armhf i386 powerpc ppc64el ppc64 mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libdevel
Depends: libopenblas0-serial (= ${binary:Version}),
@@ -221,7 +221,7 @@
# 64-bit indexing version
Package: libopenblas64-0
-Architecture: amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: metapackages
Depends: ${misc:Depends},
@@ -240,7 +240,7 @@
This metapackage provides a 64-bit indexing version.
Package: libopenblas64-0-pthread
-Architecture: amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -261,7 +261,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=0 INTERFACE64=1
Package: libopenblas64-0-openmp
-Architecture: amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -282,7 +282,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=1 INTERFACE64=1
Package: libopenblas64-0-serial
-Architecture: amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libs
Depends: ${shlibs:Depends},
@@ -303,7 +303,7 @@
Configuration: USE_THREAD=0 USE_OPENMP=0 INTERFACE64=1
Package: libopenblas64-dev
-Architecture: amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: metapackages
Depends: libopenblas64-0 (= ${binary:Version}),
@@ -326,7 +326,7 @@
This metapackage provides a 64-bit indexing version.
Package: libopenblas64-pthread-dev
-Architecture: amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libdevel
Depends: libopenblas64-0-pthread (= ${binary:Version}),
@@ -350,7 +350,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=0 INTERFACE64=1
Package: libopenblas64-openmp-dev
-Architecture: amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libdevel
Depends: libopenblas64-0-openmp (= ${binary:Version}),
@@ -374,7 +374,7 @@
Configuration: USE_THREAD=1 USE_OPENMP=1 INTERFACE64=1
Package: libopenblas64-serial-dev
-Architecture: amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
+Architecture: alpha amd64 arm64 ppc64 ppc64el mips64el riscv64 sparc64 s390x loong64
Multi-Arch: same
Section: libdevel
Depends: libopenblas64-0-serial (= ${binary:Version}),
diff -Nru orig/openblas-0.3.29+ds/debian/rules new/openblas-0.3.29+ds/debian/rules
--- orig/openblas-0.3.29+ds/debian/rules 2025-03-10 19:55:23.000000000 +0100
+++ new/openblas-0.3.29+ds/debian/rules 2025-03-30 23:14:08.454292988 +0200
@@ -28,7 +28,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 ppc64el s390x loong64 riscv64
+ENABLE_DYNAMIC_ARCHS := alpha amd64 arm64 i386 ppc64el s390x loong64 riscv64
ifneq (,$(filter $(DEB_HOST_ARCH),$(ENABLE_DYNAMIC_ARCHS)))
GENERIC_OPTIONS += DYNAMIC_ARCH=1 DYNAMIC_OLDER=1 TARGET=GENERIC
endif
@@ -36,6 +36,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_alpha = TARGET=EV5
# 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