pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math math/cblas: import from wip



details:   https://anonhg.NetBSD.org/pkgsrc/rev/624fd3f90349
branches:  trunk
changeset: 450676:624fd3f90349
user:      thor <thor%pkgsrc.org@localhost>
date:      Tue Apr 20 20:37:03 2021 +0000

description:
math/cblas: import from wip

This will be used by math/py-numpy soon for proper matrix math.

diffstat:

 math/Makefile            |   3 ++-
 math/cblas/DESCR         |   2 ++
 math/cblas/Makefile      |  15 +++++++++++++++
 math/cblas/PLIST         |  12 ++++++++++++
 math/cblas/buildlink3.mk |  15 +++++++++++++++
 5 files changed, 46 insertions(+), 1 deletions(-)

diffs (77 lines):

diff -r caac7b8344b0 -r 624fd3f90349 math/Makefile
--- a/math/Makefile     Tue Apr 20 20:09:36 2021 +0000
+++ b/math/Makefile     Tue Apr 20 20:37:03 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.492 2021/04/09 11:00:28 nia Exp $
+# $NetBSD: Makefile,v 1.493 2021/04/20 20:37:03 thor Exp $
 
 COMMENT=       Mathematics
 
@@ -140,6 +140,7 @@
 SUBDIR+=       calcoo
 SUBDIR+=       cantor
 SUBDIR+=       capc-calc
+SUBDIR+=       cblas
 SUBDIR+=       cgal
 SUBDIR+=       classias
 SUBDIR+=       clisp-pari
diff -r caac7b8344b0 -r 624fd3f90349 math/cblas/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/cblas/DESCR  Tue Apr 20 20:37:03 2021 +0000
@@ -0,0 +1,2 @@
+This is the C wrapper to the Basic Linear Algebra Support library
+(CBLAS), extracted from the Netlib reference implementation of LAPACK.
diff -r caac7b8344b0 -r 624fd3f90349 math/cblas/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/cblas/Makefile       Tue Apr 20 20:37:03 2021 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2021/04/20 20:37:03 thor Exp $
+
+COMMENT=               C interface to a BLAS library
+LAPACK_COMPONENT=      cblas
+LAPACK_COMPONENT_CMAKE_ARGS=   \
+       -DUSE_OPTIMIZED_BLAS=ON \
+       -DBLAS_LIBRARIES=${BLAS_LIBS:Q} \
+       -DUSE_OPTIMIZED_LAPACK=ON \
+       -DLAPACK_LIBRARIES=${LAPACK_LIBS:Q} \
+       -DCBLAS=ON -DLAPACKE=OFF \
+       -DCMAKE_VERBOSE=ON
+
+.include "../../mk/blas.buildlink3.mk"
+.include "../../math/lapack/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff -r caac7b8344b0 -r 624fd3f90349 math/cblas/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/cblas/PLIST  Tue Apr 20 20:37:03 2021 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/20 20:37:03 thor Exp $
+include/cblas.h
+include/cblas_f77.h
+include/cblas_mangling.h
+include/cblas_test.h
+lib/cmake/cblas-${PKGVERSION}/cblas-config-version.cmake
+lib/cmake/cblas-${PKGVERSION}/cblas-config.cmake
+lib/libcblas.a
+lib/libcblas.so
+lib/libcblas.so.3
+lib/libcblas.so.${PKGVERSION}
+lib/pkgconfig/cblas.pc
diff -r caac7b8344b0 -r 624fd3f90349 math/cblas/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/cblas/buildlink3.mk  Tue Apr 20 20:37:03 2021 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/04/20 20:37:03 thor Exp $
+
+BUILDLINK_TREE+=       cblas
+
+.if !defined(CBLAS_BUILDLINK3_MK)
+CBLAS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cblas+=  cblas>=3.9.0
+BUILDLINK_PKGSRCDIR.cblas?=    ../../math/cblas
+
+.include       "../../mk/blas.buildlink3.mk"
+.endif
+
+
+BUILDLINK_TREE+=       -cblas



Home | Main Index | Thread Index | Old Index