pkgsrc-Changes archive

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

CVS commit: pkgsrc/math



Module Name:    pkgsrc
Committed By:   thor
Date:           Tue Apr 20 20:37:03 UTC 2021

Modified Files:
        pkgsrc/math: Makefile
Added Files:
        pkgsrc/math/cblas: DESCR Makefile PLIST buildlink3.mk

Log Message:
math/cblas: import from wip

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


To generate a diff of this commit:
cvs rdiff -u -r1.492 -r1.493 pkgsrc/math/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/math/cblas/DESCR pkgsrc/math/cblas/Makefile \
    pkgsrc/math/cblas/PLIST pkgsrc/math/cblas/buildlink3.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/Makefile
diff -u pkgsrc/math/Makefile:1.492 pkgsrc/math/Makefile:1.493
--- pkgsrc/math/Makefile:1.492  Fri Apr  9 11:00:28 2021
+++ pkgsrc/math/Makefile        Tue Apr 20 20:37:03 2021
@@ -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+=    calc
 SUBDIR+=       calcoo
 SUBDIR+=       cantor
 SUBDIR+=       capc-calc
+SUBDIR+=       cblas
 SUBDIR+=       cgal
 SUBDIR+=       classias
 SUBDIR+=       clisp-pari

Added files:

Index: pkgsrc/math/cblas/DESCR
diff -u /dev/null pkgsrc/math/cblas/DESCR:1.1
--- /dev/null   Tue Apr 20 20:37:03 2021
+++ pkgsrc/math/cblas/DESCR     Tue Apr 20 20:37:03 2021
@@ -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.
Index: pkgsrc/math/cblas/Makefile
diff -u /dev/null pkgsrc/math/cblas/Makefile:1.1
--- /dev/null   Tue Apr 20 20:37:03 2021
+++ pkgsrc/math/cblas/Makefile  Tue Apr 20 20:37:03 2021
@@ -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"
Index: pkgsrc/math/cblas/PLIST
diff -u /dev/null pkgsrc/math/cblas/PLIST:1.1
--- /dev/null   Tue Apr 20 20:37:03 2021
+++ pkgsrc/math/cblas/PLIST     Tue Apr 20 20:37:03 2021
@@ -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
Index: pkgsrc/math/cblas/buildlink3.mk
diff -u /dev/null pkgsrc/math/cblas/buildlink3.mk:1.1
--- /dev/null   Tue Apr 20 20:37:03 2021
+++ pkgsrc/math/cblas/buildlink3.mk     Tue Apr 20 20:37:03 2021
@@ -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