Bug 284314 - math/openblas: upgrade to v0.3.29
Summary: math/openblas: upgrade to v0.3.29
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Thierry Thomas
URL: https://github.com/OpenMathLib/OpenBL...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-24 17:28 UTC by Thierry Thomas
Modified: 2025-02-03 18:45 UTC (History)
3 users (show)

See Also:
phd_kimberlite: maintainer-feedback+
antoine: exp-run+


Attachments
Upgrade OpenBLAS to v0.3.29 (2.36 KB, patch)
2025-01-24 17:28 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2025-01-24 17:28:27 UTC
Created attachment 256957 [details]
Upgrade OpenBLAS to v0.3.29

Upgrade to v0.3.29

Releases notes at https://github.com/OpenMathLib/OpenBLAS/releases

All test pass. As usual, an exp-run will be asked after your approval.
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2025-01-25 09:09:34 UTC
Asking for an exp-run please.
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2025-01-28 14:08:17 UTC
Exp-run seems fine
Comment 3 Thierry Thomas freebsd_committer freebsd_triage 2025-01-28 16:42:59 UTC
Committed, thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-01-28 16:43:36 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=89303ca180e0d0d1414cd8522935a540852d2bd6

commit 89303ca180e0d0d1414cd8522935a540852d2bd6
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2025-01-24 16:49:00 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2025-01-28 16:42:55 +0000

    math/openblas: upgrade to v0.3.29

    Releases notes at https://github.com/OpenMathLib/OpenBLAS/releases

    PR:             284314
    Approved by     phd_kimberlite (at) yahoo.co.jp (maintainer)
    Exp-run by:     antoine

 math/openblas/Makefile | 9 ++++++---
 math/openblas/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-01-28 16:43:37 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e54e2c695bbccea73e70ce5bf689928053632492

commit e54e2c695bbccea73e70ce5bf689928053632492
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2025-01-28 16:38:21 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2025-01-28 16:42:55 +0000

    */*: bump PORTREVISION after OpenBLAS upgrade

    Remark: this souldn’t be necessary, because the version of the library is the
    same, but due to many changes between these releases, it is safer this way.

    PR:             284314

 biology/bolt-lmm/Makefile         | 2 +-
 biology/gcta/Makefile             | 2 +-
 biology/gemma/Makefile            | 1 +
 biology/plink/Makefile            | 2 +-
 cad/gmsh/Makefile                 | 2 +-
 cad/openroad/Makefile             | 2 +-
 devel/root/Makefile               | 1 +
 editors/openoffice-4/Makefile     | 2 +-
 editors/openoffice-devel/Makefile | 2 +-
 games/leela-zero/Makefile         | 2 +-
 graphics/matplotplusplus/Makefile | 2 +-
 graphics/opencv/Makefile          | 2 +-
 lang/julia/Makefile               | 2 +-
 math/adept/Makefile               | 2 +-
 math/alps/Makefile                | 2 +-
 math/ambit/Makefile               | 2 +-
 math/armadillo/Makefile           | 2 +-
 math/arpack++/Makefile            | 2 +-
 math/bcps/Makefile                | 2 +-
 math/blaspp/Makefile              | 2 +-
 math/blaze/Makefile               | 2 +-
 math/bonmin/Makefile              | 2 +-
 math/casadi/Makefile              | 2 +-
 math/cbc/Makefile                 | 1 +
 math/ceres-solver/Makefile        | 2 +-
 math/cgl-conic/Makefile           | 2 +-
 math/cgl/Makefile                 | 2 +-
 math/cminpack/Makefile            | 1 +
 math/coinmp/Makefile              | 2 +-
 math/coinutils/Makefile           | 1 +
 math/cosma/Makefile               | 2 +-
 math/costa/Makefile               | 2 +-
 math/couenne/Makefile             | 2 +-
 math/dbcsr/Makefile               | 1 +
 math/deal.ii/Makefile             | 2 +-
 math/disco/Makefile               | 2 +-
 math/dune-alugrid/Makefile        | 2 +-
 math/dune-common/Makefile         | 2 +-
 math/dune-fem/Makefile            | 2 +-
 math/dune-geometry/Makefile       | 2 +-
 math/dune-grid-glue/Makefile      | 2 +-
 math/dune-grid/Makefile           | 2 +-
 math/dune-pdelab/Makefile         | 2 +-
 math/dune-polygongrid/Makefile    | 2 +-
 math/dune-uggrid/Makefile         | 2 +-
 math/dune-vtk/Makefile            | 2 +-
 math/elemental/Makefile           | 2 +-
 math/elpa/Makefile                | 2 +-
 math/faiss/Makefile               | 1 +
 math/fenics-basix/Makefile        | 2 +-
 math/fflas-ffpack/Makefile        | 2 +-
 math/flexiblas/Makefile           | 2 +-
 math/flint/Makefile               | 1 +
 math/flint2/Makefile              | 2 +-
 math/g2o/Makefile                 | 2 +-
 math/gravity/Makefile             | 2 +-
 math/hmat-oss/Makefile            | 2 +-
 math/hydrogen/Makefile            | 2 +-
 math/igraph/Makefile              | 2 +-
 math/iml/Makefile                 | 2 +-
 math/jags/Makefile                | 2 +-
 math/lapack++/Makefile            | 2 +-
 math/linbox/Makefile              | 2 +-
 math/moab/Makefile                | 2 +-
 math/ntpoly/Makefile              | 1 +
 math/ocamlgsl/Makefile            | 2 +-
 math/octave-forge-ltfat/Makefile  | 2 +-
 math/octave/Makefile              | 2 +-
 math/openturns/Makefile           | 2 +-
 math/or-tools/Makefile            | 2 +-
 math/osi-conic/Makefile           | 2 +-
 math/osi/Makefile                 | 1 +
 math/osiipopt/Makefile            | 2 +-
 math/primme/Makefile              | 1 +
 math/py-ambit/Makefile            | 2 +-
 math/py-igraph/Makefile           | 2 +-
 math/py-numpy/Makefile            | 2 +-
 math/py-or-tools/Makefile         | 2 +-
 math/py-scikit-umfpack/Makefile   | 2 +-
 math/py-scs/Makefile              | 1 +
 math/qposases/Makefile            | 2 +-
 math/scalapack/Makefile           | 2 +-
 math/scalapackfx/Makefile         | 2 +-
 math/scs/Makefile                 | 1 +
 math/slicot/Makefile              | 2 +-
 math/spla/Makefile                | 1 +
 math/suitesparse-cholmod/Makefile | 1 +
 math/suitesparse-config/Makefile  | 1 +
 math/suitesparse-paru/Makefile    | 1 +
 math/suitesparse-spqr/Makefile    | 1 +
 math/suitesparse-umfpack/Makefile | 1 +
 math/sundials/Makefile            | 2 +-
 math/symphony/Makefile            | 2 +-
 math/trlib/Makefile               | 2 +-
 misc/caffe/Makefile               | 2 +-
 misc/koboldcpp/Makefile           | 1 +
 misc/mxnet/Makefile               | 2 +-
 misc/py-pytorch/Makefile          | 2 +-
 misc/pytorch/Makefile             | 2 +-
 misc/visp/Makefile                | 2 +-
 multimedia/opentoonz/Makefile     | 2 +-
 science/bagel/Makefile            | 2 +-
 science/berkeleygw/Makefile       | 2 +-
 science/bout++/Makefile           | 1 +
 science/cantera/Makefile          | 1 +
 science/chemps2/Makefile          | 2 +-
 science/chrono/Makefile           | 2 +-
 science/cp2k/Makefile             | 1 +
 science/dalton/Makefile           | 2 +-
 science/dftbplus/Makefile         | 2 +-
 science/dftd4/Makefile            | 1 +
 science/dynare/Makefile           | 2 +-
 science/elk/Makefile              | 2 +-
 science/elmerfem/Makefile         | 2 +-
 science/erkale/Makefile           | 2 +-
 science/fleur/Makefile            | 2 +-
 science/frontistr/Makefile        | 2 +-
 science/gbtolib/Makefile          | 2 +-
 science/harminv/Makefile          | 2 +-
 science/hypre/Makefile            | 1 +
 science/iboview/Makefile          | 2 +-
 science/lammps/Makefile           | 1 +
 science/latte/Makefile            | 2 +-
 science/libcint/Makefile          | 2 +-
 science/libmbd/Makefile           | 2 +-
 science/libnegf/Makefile          | 2 +-
 science/meep/Makefile             | 2 +-
 science/mopac/Makefile            | 1 +
 science/mpb/Makefile              | 2 +-
 science/multicharge/Makefile      | 1 +
 science/multiwfn/Makefile         | 2 +-
 science/nlcglib/Makefile          | 2 +-
 science/ocean/Makefile            | 2 +-
 science/opensim-core/Makefile     | 2 +-
 science/pastix/Makefile           | 2 +-
 science/psi4/Makefile             | 2 +-
 science/py-gpaw/Makefile          | 2 +-
 science/py-phono3py/Makefile      | 1 +
 science/py-pyscf/Makefile         | 1 +
 science/py-scipy/Makefile         | 2 +-
 science/qiskit-aer/Makefile       | 1 +
 science/qmcpack/Makefile          | 1 +
 science/quantum-espresso/Makefile | 1 +
 science/quantum-jet/Makefile      | 2 +-
 science/siconos/Makefile          | 2 +-
 science/simbody/Makefile          | 2 +-
 science/simple-dftd3/Makefile     | 2 +-
 science/sirius/Makefile           | 1 +
 science/tblite/Makefile           | 1 +
 science/ukrmol+/Makefile          | 2 +-
 science/xtb/Makefile              | 2 +-
 151 files changed, 151 insertions(+), 116 deletions(-)
Comment 6 Piotr Kubaj freebsd_committer freebsd_triage 2025-01-30 11:21:09 UTC
This commit is wrong, it doesn't change anything, because GH_TAGNAME is not changed. Also compare that SHA256 in distinfo is not changed. To fix:
diff --git a/math/openblas/Makefile b/math/openblas/Makefile
index 538d963214cf..68c35014df27 100644
--- a/math/openblas/Makefile
+++ b/math/openblas/Makefile
@@ -20,7 +20,7 @@ USES=         compiler:c11 cpe fortran gmake perl5 pkgconfig
 USE_GITHUB=    yes
 GH_ACCOUNT=    OpenMathLib
 GH_PROJECT=    OpenBLAS
-GH_TAGNAME=    ce3f668
+GH_TAGNAME=    8795fc7
 LARGE_FILE=    large.tgz
 TIMING_FILE=   timing.tgz
 CPE_VENDOR=    openblas_project
@@ -31,7 +31,7 @@ USE_PERL5=    build
 OPENBLAS_SVER= 0
 TEST_TARGET=   tests
 
-PLIST_SUB+=    PORTVERSION=${PORTVERSION:C/9/7/}
+PLIST_SUB+=    PORTVERSION=${PORTVERSION}
 
 OPTIONS_DEFINE=                        DYNAMIC_ARCH INTERFACE64 OPENMP
 OPTIONS_DEFAULT=               OPENMP
@@ -142,9 +142,9 @@ benchmark: build
        cd ${WRKSRC}/benchmark ; ${SETENV} ${BENCHMARK_THREADS_FLAG} ${MAKE_CMD} ${MAKE_ARGS}
 
 post-install:
-       ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenblasp-r${PORTVERSION:C/9/7/}.so
+       ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenblasp-r${PORTVERSION}.so
 
 post-install-DYNAMIC_ARCH-off:
-       cd ${STAGEDIR}${PREFIX} && ls lib/libopenblas_*p-r${PORTVERSION:C/9/7/}.* >> ${TMPPLIST}
+       cd ${STAGEDIR}${PREFIX} && ls lib/libopenblas_*p-r${PORTVERSION}.* >> ${TMPPLIST}
 
 .include <bsd.port.post.mk>


You also probably need to bump PORTREVISION.
Comment 7 Piotr Kubaj freebsd_committer freebsd_triage 2025-01-30 11:21:22 UTC
And obviously regenerate distinfo.
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2025-01-31 15:15:36 UTC
(In reply to Piotr Kubaj from comment #7)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284425#c21
Comment 9 commit-hook freebsd_committer freebsd_triage 2025-02-03 18:44:34 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2808d8f48ce30875954ec98a4cf2d450bdbbc371

commit 2808d8f48ce30875954ec98a4cf2d450bdbbc371
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-02-03 18:37:52 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-02-03 18:43:45 +0000

    math/openblas: Real update 0.3.27 → 0.3.29, fix stage with DYNAMIC_ARCH off

    Changelogs:
    https://github.com/OpenMathLib/OpenBLAS/releases/tag/v0.3.28
    https://github.com/OpenMathLib/OpenBLAS/releases/tag/v0.3.29

    PR:             284425 284314
    Approved by:    Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> (maintainer)
    Fixes:          89303ca180e0 (upgrade to v0.3.29)

 math/openblas/Makefile                   | 11 ++++++-----
 math/openblas/distinfo                   |  6 +++---
 math/openblas/files/patch-param.h (gone) | 11 -----------
 3 files changed, 9 insertions(+), 19 deletions(-)