openblas.git
3 years agoNo longer check for symbols deprecated in LAPACK 3.10.1
Mo Zhou [Sun, 27 Nov 2022 20:22:10 +0000 (20:22 +0000)]
No longer check for symbols deprecated in LAPACK 3.10.1

Bug-Debian: https://bugs.debian.org/1011386
Forwarded: no
Last-Update: 2022-08-14

Last-Update: 2022-08-14
Gbp-Pq: Name combssq-deprecate.patch

3 years agoMATGEN symbols are not included in Debian binary
Sébastien Villemot [Sun, 27 Nov 2022 20:22:10 +0000 (20:22 +0000)]
MATGEN symbols are not included in Debian binary

Forwarded: not-needed
Last-Update: 2016-03-24

The libopenblas binaries do not include libmatgen code, so don't mark them as
exported and don't test for their presence (in linktest).
Last-Update: 2016-03-24
Gbp-Pq: Name matgen-symbols-not-included.patch

3 years agoCreate shared libraries lib{blas,lapack}.so.3
Sébastien Villemot [Sun, 27 Nov 2022 20:22:10 +0000 (20:22 +0000)]
Create shared libraries lib{blas,lapack}.so.3

Forwarded: not-needed
Last-Update: 2020-07-31

* It is done so that duplicate code with libopenblas.so.0 is kept as low as
  possible. Only the symbols from the external BLAS/LAPACK API are incorporated
  in the shared libraries. The rest is obtained by dynamic linking against
  libopenblas.so.0. This also gives access to some extra OpenBLAS symbols, in
  order to differentiate it at runtime from other BLAS implementations (see
  #960728).
  The -rpath,'$ORIGIN' is there to ensure that the OpenBLAS flavour used is
  the one selected in the lib{blas,lapack}.so.3 alternative, and not the one
  selected in the libopenblas.so.0 alternative.
* See also override_dh_shlibdeps in debian/rules
* Also order the files when calling `ar' or $(CC), to make
  the build reproducible (see #824639)
* Also link the shared blas and lapack against gomp (see #945791)
Last-Update: 2020-07-31
Gbp-Pq: Name shared-blas-lapack.patch

3 years agoAdapt build system for the absence of lapack-netlib/ and relapack directories.
Sébastien Villemot [Sun, 27 Nov 2022 20:22:10 +0000 (20:22 +0000)]
Adapt build system for the absence of lapack-netlib/ and relapack directories.

Forwarded: not-needed
Last-Update: 2017-07-27

Instead use the binary provided by package liblapack-pic, stripping from it the
symbols that are overridden by OpenBLAS.
Last-Update: 2017-07-27
Gbp-Pq: Name no-embedded-lapack.patch

3 years agoRemove warning about OpenMP
Sébastien Villemot [Sun, 27 Nov 2022 20:22:10 +0000 (20:22 +0000)]
Remove warning about OpenMP

Forwarded: no
Last-Update: 2014-02-17

This warning is annoying when the library is built with pthreads.
See #684344
Last-Update: 2014-02-17
Gbp-Pq: Name remove-openmp-warning.patch

3 years agoVarious fixes for kFreeBSD shared library
Sébastien Villemot [Sun, 27 Nov 2022 20:22:10 +0000 (20:22 +0000)]
Various fixes for kFreeBSD shared library

Forwarded: not-needed
Last-Update: 2014-08-05

Under kFreeBSD, give a SONAME to the shared library and install it. Also link
it against libm.
Simply use the same code as Linux for all these operations.
Last-Update: 2014-08-05
Gbp-Pq: Name kfreebsd.patch

3 years agoUse flags suitable for armhf port when TARGET=ARMV6
Sébastien Villemot [Sun, 27 Nov 2022 20:22:10 +0000 (20:22 +0000)]
Use flags suitable for armhf port when TARGET=ARMV6

Forwarded: not-needed
Last-Update: 2015-04-29

See debian/rules for an explanation of why we can't use TARGET=ARMV7 on armhf.
Also, if we don't explicitly set the -march and -mfpu flags, the resulting
static libraries crash with SIGILL (reason not yet elucidated).
Last-Update: 2015-04-29
Gbp-Pq: Name arm-gcc-flags.patch

3 years agoopenblas (0.3.21+ds-3) unstable; urgency=medium
Sébastien Villemot [Sun, 27 Nov 2022 20:22:10 +0000 (20:22 +0000)]
openblas (0.3.21+ds-3) unstable; urgency=medium

  * Install CMake files under /usr/lib/$(MULTIARCH)/cmake/openblas$(FLAVOR)/
    Thanks to Juan Jose Garcia Ripoll for reporting (Closes: #1000332)
  * no-embedded-lapack.patch: fix logic for detecting build with 64-bit
    indexing. In particular, this fixes the riscv64 packages whose embedded
    LAPACK routines were unusable with 32-bit indexing.
    Thanks to Дмитрий Ермилов (Closes: #1022950)

[dgit import unpatched openblas 0.3.21+ds-3]

3 years agoImport openblas_0.3.21+ds-3.debian.tar.xz
Sébastien Villemot [Sun, 27 Nov 2022 20:22:10 +0000 (20:22 +0000)]
Import openblas_0.3.21+ds-3.debian.tar.xz

[dgit import tarball openblas 0.3.21+ds-3 openblas_0.3.21+ds-3.debian.tar.xz]

3 years agoImport openblas_0.3.21+ds.orig.tar.xz
Sébastien Villemot [Sun, 14 Aug 2022 20:37:14 +0000 (21:37 +0100)]
Import openblas_0.3.21+ds.orig.tar.xz

[dgit import orig openblas_0.3.21+ds.orig.tar.xz]