openblas.git
9 months agoCreate shared libraries lib{blas,lapack}.so.3
Sébastien Villemot [Mon, 10 Mar 2025 18:55:28 +0000 (14:55 -0400)]
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

9 months agoAdapt build system for the absence of lapack-netlib/ and relapack directories.
Sébastien Villemot [Mon, 10 Mar 2025 18:55:28 +0000 (14:55 -0400)]
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

9 months agoRemove warning about OpenMP
Sébastien Villemot [Mon, 10 Mar 2025 18:55:28 +0000 (14:55 -0400)]
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

9 months agoUse flags suitable for armhf port when TARGET=ARMV6
Sébastien Villemot [Mon, 10 Mar 2025 18:55:28 +0000 (14:55 -0400)]
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

9 months ago[PATCH] Improve thread safety of pthreads builds that rely on C11 atomic operations...
Martin Kroeker [Fri, 7 Mar 2025 12:48:28 +0000 (13:48 +0100)]
[PATCH] Improve thread safety of pthreads builds that rely on C11 atomic operations for locking (#5170)

* Tighten memory orders for C11 atomic operations

Gbp-Pq: Name 39eb43d4410d0745ca2c78d1162d973abf3aa35b.patch

9 months agoopenblas (0.3.29+ds-3) unstable; urgency=medium
Mo Zhou [Mon, 10 Mar 2025 18:55:28 +0000 (14:55 -0400)]
openblas (0.3.29+ds-3) unstable; urgency=medium

  * Cherry-pick upstream PR#5170 for thread safety of pthread build.
  * Remove armhf-specific OPENBLAS_NUM_THREADS overrides during tests.
  * Simplify d/rules and reduce repeatition.

[dgit import unpatched openblas 0.3.29+ds-3]

9 months agoImport openblas_0.3.29+ds-3.debian.tar.xz
Mo Zhou [Mon, 10 Mar 2025 18:55:28 +0000 (14:55 -0400)]
Import openblas_0.3.29+ds-3.debian.tar.xz

[dgit import tarball openblas 0.3.29+ds-3 openblas_0.3.29+ds-3.debian.tar.xz]

10 months agoImport openblas_0.3.29+ds.orig.tar.xz
Mo Zhou [Tue, 28 Jan 2025 04:06:02 +0000 (23:06 -0500)]
Import openblas_0.3.29+ds.orig.tar.xz

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