summaryrefslogtreecommitdiff
path: root/math/scalapack/files/patch-BLACS_SRC_Bdef.h
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2025-07-02 17:56:55 +0300
committerGleb Popov <arrowd@FreeBSD.org>2025-09-05 19:17:30 +0300
commit373a70ed637f8986ba7e66617c3d3bd94ae78659 (patch)
tree26e99dc1939a5c0c0f9e9a41d325d323789f3934 /math/scalapack/files/patch-BLACS_SRC_Bdef.h
parentmultimedia/wl-screenrec: unbreak build with ffmpeg 8 (diff)
math/scalapack: Fix building with Flang
Upstream PR: https://github.com/Reference-ScaLAPACK/scalapack/pull/137 Upstream PR: https://github.com/Reference-ScaLAPACK/scalapack/pull/140
Diffstat (limited to 'math/scalapack/files/patch-BLACS_SRC_Bdef.h')
-rw-r--r--math/scalapack/files/patch-BLACS_SRC_Bdef.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/math/scalapack/files/patch-BLACS_SRC_Bdef.h b/math/scalapack/files/patch-BLACS_SRC_Bdef.h
new file mode 100644
index 000000000000..7845091f1e18
--- /dev/null
+++ b/math/scalapack/files/patch-BLACS_SRC_Bdef.h
@@ -0,0 +1,18 @@
+--- 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...