git: af4b7f16cc67 - main - math/scalapack: Update to 2.2.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Mar 2026 05:51:47 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=af4b7f16cc67dbd55270ab515c8f280594bd3150
commit af4b7f16cc67dbd55270ab515c8f280594bd3150
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-03-25 19:43:40 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-03-26 05:51:41 +0000
math/scalapack: Update to 2.2.3
PR: 294051
Approved by: thierry (fortran)
---
math/scalapack/Makefile | 7 +-
math/scalapack/distinfo | 6 +-
math/scalapack/files/patch-BLACS_SRC_Bdef.h | 18 ----
.../files/patch-BLACS_SRC_blacs__init__.c | 15 ---
math/scalapack/files/patch-CMakeLists.txt | 10 --
math/scalapack/files/patch-gridmap | 120 ---------------------
6 files changed, 6 insertions(+), 170 deletions(-)
diff --git a/math/scalapack/Makefile b/math/scalapack/Makefile
index 2c5f892286a7..de7a47841d46 100644
--- a/math/scalapack/Makefile
+++ b/math/scalapack/Makefile
@@ -1,6 +1,5 @@
PORTNAME= scalapack
-PORTVERSION= 2.2.2
-PORTREVISION= 2
+PORTVERSION= 2.2.3
DISTVERSIONPREFIX= v
CATEGORIES= math
@@ -27,7 +26,7 @@ ARCH2FIX= PBLAS/SRC PBLAS/SRC/PBBLAS PBLAS/SRC/PTOOLS PBLAS/SRC/PTZBLAS \
DATADIR= ${PREFIX}/share/${PORTNAME:tu}
EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME:tu}
SUB_FILES= pkg-message
-PLIST_SUB= SVERSION=${SVERSION} PORTVERSION=2.2.1 VER=${PORTVERSION:R}
+PLIST_SUB= SVERSION=${SVERSION} PORTVERSION=${PORTVERSION} VER=${PORTVERSION:R}
OPTIONS_DEFINE= EXAMPLES
OPTIONS_RADIO= LA MPI
@@ -83,7 +82,7 @@ post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/SCALAPACK/TESTING
(cd ${BUILD_WRKSRC}/TESTING/ ;\
${INSTALL_PROGRAM} x* ${STAGEDIR}${PREFIX}/share/SCALAPACK/TESTING ;\
- ${INSTALL_DATA} *.dat ${STAGEDIR}${PREFIX}/share/SCALAPACK/TESTING)
+ ${INSTALL_DATA} traditional/*.dat ${STAGEDIR}${PREFIX}/share/SCALAPACK/TESTING)
${INSTALL_DATA} ${FILESDIR}/scalapack.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${WRKSRC}/PBLAS/SRC/*.h ${STAGEDIR}${PREFIX}/include
diff --git a/math/scalapack/distinfo b/math/scalapack/distinfo
index 0d6d2f2f076b..7ec33992380b 100644
--- a/math/scalapack/distinfo
+++ b/math/scalapack/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1739027129
-SHA256 (Reference-ScaLAPACK-scalapack-v2.2.2_GH0.tar.gz) = a2f0c9180a210bf7ffe126c9cb81099cf337da1a7120ddb4cbe4894eb7b7d022
-SIZE (Reference-ScaLAPACK-scalapack-v2.2.2_GH0.tar.gz) = 4769347
+TIMESTAMP = 1774448340
+SHA256 (Reference-ScaLAPACK-scalapack-v2.2.3_GH0.tar.gz) = 5d93701eca663925e98010dd8d0f45fd79b2191d74e5afa5711d587370a8b9dd
+SIZE (Reference-ScaLAPACK-scalapack-v2.2.3_GH0.tar.gz) = 4805086
diff --git a/math/scalapack/files/patch-BLACS_SRC_Bdef.h b/math/scalapack/files/patch-BLACS_SRC_Bdef.h
deleted file mode 100644
index 7845091f1e18..000000000000
--- a/math/scalapack/files/patch-BLACS_SRC_Bdef.h
+++ /dev/null
@@ -1,18 +0,0 @@
---- BLACS/SRC/Bdef.h.orig 2024-08-06 11:44:11 UTC
-+++ BLACS/SRC/Bdef.h
-@@ -129,6 +129,15 @@ Int BI_ContxtNum(BLACSCONTEXT *ctxt);
- void BI_BlacsWarn(Int ConTxt, Int line, char *file, char *form, ...);
- void BI_BlacsErr(Int ConTxt, Int line, char *file, char *form, ...);
- Int BI_ContxtNum(BLACSCONTEXT *ctxt);
-+void BI_TransDist(BLACSCONTEXT *ctxt, char scope, Int m, Int n, Int *rA,
-+ Int *cA, Int ldrc, BI_DistType *dist, Int rdest, Int cdest);
-+void BI_dmvcopy(Int m, Int n, double *A, Int lda, double *buff);
-+void BI_dvmcopy(Int m, Int n, double *A, Int lda, double *buff);
-+void BI_imvcopy(Int m, Int n, Int *A, Int lda, Int *buff);
-+void BI_ivmcopy(Int m, Int n, Int *A, Int lda, Int *buff);
-+void BI_smvcopy(Int m, Int n, float *A, Int lda, float *buff);
-+void BI_svmcopy(Int m, Int n, float *A, Int lda, float *buff);
-+void Cblacs_pinfo(Int *mypnum, Int *nprocs);
-
- /*
- * If we've got an ANSI standard C compiler, we can use void pointers...
diff --git a/math/scalapack/files/patch-BLACS_SRC_blacs__init__.c b/math/scalapack/files/patch-BLACS_SRC_blacs__init__.c
deleted file mode 100644
index 642edde152d9..000000000000
--- a/math/scalapack/files/patch-BLACS_SRC_blacs__init__.c
+++ /dev/null
@@ -1,15 +0,0 @@
---- BLACS/SRC/blacs_init_.c.orig 2024-08-06 11:44:11 UTC
-+++ BLACS/SRC/blacs_init_.c
-@@ -6,7 +6,12 @@ F_VOID_FUNC blacs_gridinit_(Int *ConTxt, F_CHAR order,
- F_VOID_FUNC blacs_gridinit_(Int *ConTxt, F_CHAR order, Int *nprow, Int *npcol)
- #endif
- {
-+#if (INTFACE == C_CALL)
- void Cblacs_gridmap(Int *, Int *, Int, Int, Int);
-+#else
-+ F_VOID_FUNC blacs_gridmap_(Int *ConTxt, Int *usermap, Int *ldup, Int *nprow0,
-+ Int *npcol0);
-+#endif
- Int *tmpgrid, *iptr;
- Int i, j;
-
diff --git a/math/scalapack/files/patch-CMakeLists.txt b/math/scalapack/files/patch-CMakeLists.txt
deleted file mode 100644
index 133cf6b18859..000000000000
--- a/math/scalapack/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
---- CMakeLists.txt.orig 2025-09-05 14:39:41 UTC
-+++ CMakeLists.txt
-@@ -239,6 +239,7 @@ if (NOT MSVC)
- append_subdir_files(src-C "SRC")
-
- if (NOT MSVC)
-+ set_source_files_properties(TOOLS/SL_gridreshape.c PROPERTIES COMPILE_OPTIONS "-Wno-error=implicit-function-declaration")
- add_library(scalapack ${blacs} ${tools} ${tools-C} ${extra_lapack} ${pblas} ${pblas-F} ${ptzblas} ${ptools} ${pbblas} ${redist} ${src} ${src-C})
- set_target_properties(scalapack PROPERTIES
- VERSION ${SCALAPACK_VERSION}
diff --git a/math/scalapack/files/patch-gridmap b/math/scalapack/files/patch-gridmap
deleted file mode 100644
index f442271f2045..000000000000
--- a/math/scalapack/files/patch-gridmap
+++ /dev/null
@@ -1,120 +0,0 @@
---- REDIST/SRC/pcgemr.c.orig 2024-08-06 11:44:11 UTC
-+++ REDIST/SRC/pcgemr.c
-@@ -194,6 +194,7 @@ extern void Cblacs_gridinit();
- extern void Cblacs_pinfo();
- extern void Cblacs_gridinfo();
- extern void Cblacs_gridinit();
-+extern void Cblacs_gridmap();
- extern void Cblacs_exit();
- extern void Cblacs_gridexit();
- extern void Cblacs_setup();
---- REDIST/SRC/pctrmr.c.orig 2024-08-06 11:44:11 UTC
-+++ REDIST/SRC/pctrmr.c
-@@ -209,6 +209,7 @@ extern void Cblacs_gridinit();
- extern void Cblacs_pinfo();
- extern void Cblacs_gridinfo();
- extern void Cblacs_gridinit();
-+extern void Cblacs_gridmap();
- extern void Cblacs_exit();
- extern void Cblacs_gridexit();
- extern void Cblacs_setup();
---- REDIST/SRC/pdgemr.c.orig 2024-08-06 11:44:11 UTC
-+++ REDIST/SRC/pdgemr.c
-@@ -191,6 +191,7 @@ extern void Cblacs_gridinit();
- extern void Cblacs_pinfo();
- extern void Cblacs_gridinfo();
- extern void Cblacs_gridinit();
-+extern void Cblacs_gridmap();
- extern void Cblacs_exit();
- extern void Cblacs_gridexit();
- extern void Cblacs_setup();
---- REDIST/SRC/pdtrmr.c.orig 2024-08-06 11:44:11 UTC
-+++ REDIST/SRC/pdtrmr.c
-@@ -206,6 +206,7 @@ extern void Cblacs_gridinit();
- extern void Cblacs_pinfo();
- extern void Cblacs_gridinfo();
- extern void Cblacs_gridinit();
-+extern void Cblacs_gridmap();
- extern void Cblacs_exit();
- extern void Cblacs_gridexit();
- extern void Cblacs_setup();
---- REDIST/SRC/pigemr.c.orig 2024-08-06 11:44:11 UTC
-+++ REDIST/SRC/pigemr.c
-@@ -191,6 +191,7 @@ extern void Cblacs_gridinit();
- extern void Cblacs_pinfo();
- extern void Cblacs_gridinfo();
- extern void Cblacs_gridinit();
-+extern void Cblacs_gridmap();
- extern void Cblacs_exit();
- extern void Cblacs_gridexit();
- extern void Cblacs_setup();
---- REDIST/SRC/pitrmr.c.orig 2024-08-06 11:44:11 UTC
-+++ REDIST/SRC/pitrmr.c
-@@ -206,6 +206,7 @@ extern void Cblacs_gridinit();
- extern void Cblacs_pinfo();
- extern void Cblacs_gridinfo();
- extern void Cblacs_gridinit();
-+extern void Cblacs_gridmap();
- extern void Cblacs_exit();
- extern void Cblacs_gridexit();
- extern void Cblacs_setup();
---- REDIST/SRC/psgemr.c.orig 2024-08-06 11:44:11 UTC
-+++ REDIST/SRC/psgemr.c
-@@ -191,6 +191,7 @@ extern void Cblacs_gridinit();
- extern void Cblacs_pinfo();
- extern void Cblacs_gridinfo();
- extern void Cblacs_gridinit();
-+extern void Cblacs_gridmap();
- extern void Cblacs_exit();
- extern void Cblacs_gridexit();
- extern void Cblacs_setup();
---- REDIST/SRC/pstrmr.c.orig 2024-08-06 11:44:11 UTC
-+++ REDIST/SRC/pstrmr.c
-@@ -206,6 +206,7 @@ extern void Cblacs_gridinit();
- extern void Cblacs_pinfo();
- extern void Cblacs_gridinfo();
- extern void Cblacs_gridinit();
-+extern void Cblacs_gridmap();
- extern void Cblacs_exit();
- extern void Cblacs_gridexit();
- extern void Cblacs_setup();
---- REDIST/SRC/pzgemr.c.orig 2024-08-06 11:44:11 UTC
-+++ REDIST/SRC/pzgemr.c
-@@ -194,6 +194,7 @@ extern void Cblacs_gridinit();
- extern void Cblacs_pinfo();
- extern void Cblacs_gridinfo();
- extern void Cblacs_gridinit();
-+extern void Cblacs_gridmap();
- extern void Cblacs_exit();
- extern void Cblacs_gridexit();
- extern void Cblacs_setup();
---- REDIST/SRC/pztrmr.c.orig 2024-08-06 11:44:11 UTC
-+++ REDIST/SRC/pztrmr.c
-@@ -209,6 +209,7 @@ extern void Cblacs_gridinit();
- extern void Cblacs_pinfo();
- extern void Cblacs_gridinfo();
- extern void Cblacs_gridinit();
-+extern void Cblacs_gridmap();
- extern void Cblacs_exit();
- extern void Cblacs_gridexit();
- extern void Cblacs_setup();
---- SRC/pcrot.c.orig 2024-08-06 11:44:11 UTC
-+++ SRC/pcrot.c
-@@ -190,6 +190,7 @@ void pcrot_( Int *n, complex X[], Int *ix, Int *jx, In
- F_INTG_FCT pbctrnv_();
- F_INTG_FCT crot_();
- F_INTG_FCT ilcm_();
-+ Int numroc_( Int*, Int*, Int*, Int*, Int* );
- /* ..
- * .. Executable Statements ..
- *
---- SRC/pzrot.c.orig 2024-08-06 11:44:11 UTC
-+++ SRC/pzrot.c
-@@ -190,6 +190,7 @@ void pzrot_( Int *n, complex16 X[], Int *ix, Int *jx,
- F_INTG_FCT pbztrnv_();
- F_INTG_FCT zrot_();
- F_INTG_FCT ilcm_();
-+ Int numroc_( Int*, Int*, Int*, Int*, Int* );
- /* ..
- * .. Executable Statements ..
- *