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:40:47 UTC 2021

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

Log Message:
math/lapacke: import from wip

This is the C interface to math/lapack or any other implementation
selected via ml/blas.buildlink3.mk.


To generate a diff of this commit:
cvs rdiff -u -r1.493 -r1.494 pkgsrc/math/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/math/lapacke/DESCR pkgsrc/math/lapacke/Makefile \
    pkgsrc/math/lapacke/PLIST pkgsrc/math/lapacke/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.493 pkgsrc/math/Makefile:1.494
--- pkgsrc/math/Makefile:1.493  Tue Apr 20 20:37:03 2021
+++ pkgsrc/math/Makefile        Tue Apr 20 20:40:47 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.493 2021/04/20 20:37:03 thor Exp $
+# $NetBSD: Makefile,v 1.494 2021/04/20 20:40:47 thor Exp $
 
 COMMENT=       Mathematics
 
@@ -223,6 +223,7 @@ SUBDIR+=    kalk
 SUBDIR+=       kcalc
 SUBDIR+=       kissfft
 SUBDIR+=       lapack
+SUBDIR+=       lapacke
 SUBDIR+=       libffm
 SUBDIR+=       libint
 SUBDIR+=       libixion

Added files:

Index: pkgsrc/math/lapacke/DESCR
diff -u /dev/null pkgsrc/math/lapacke/DESCR:1.1
--- /dev/null   Tue Apr 20 20:40:47 2021
+++ pkgsrc/math/lapacke/DESCR   Tue Apr 20 20:40:47 2021
@@ -0,0 +1,2 @@
+This is the C wrapper to the Linear Algebra PACKage (LAPACKE),
+extracted from the Netlib reference implementation of LAPACK.
Index: pkgsrc/math/lapacke/Makefile
diff -u /dev/null pkgsrc/math/lapacke/Makefile:1.1
--- /dev/null   Tue Apr 20 20:40:47 2021
+++ pkgsrc/math/lapacke/Makefile        Tue Apr 20 20:40:47 2021
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2021/04/20 20:40:47 thor Exp $
+
+COMMENT=               C interface to a LAPACK library
+LAPACK_COMPONENT=      lapacke
+LAPACK_COMPONENT_CMAKE_ARGS=   \
+       -DUSE_OPTIMIZED_BLAS=ON \
+       -DBLAS_LIBRARIES=${BLAS_LIBS:Q} \
+       -DUSE_OPTIMIZED_LAPACK=ON \
+       -DLAPACK_LIBRARIES=${LAPACK_LIBS:Q} \
+       -DCBLAS=OFF -DLAPACKE=ON
+
+.include "../../mk/blas.buildlink3.mk"
+.include "../../math/lapack/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/lapacke/PLIST
diff -u /dev/null pkgsrc/math/lapacke/PLIST:1.1
--- /dev/null   Tue Apr 20 20:40:47 2021
+++ pkgsrc/math/lapacke/PLIST   Tue Apr 20 20:40:47 2021
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/20 20:40:47 thor Exp $
+include/lapack.h
+include/lapacke.h
+include/lapacke_config.h
+include/lapacke_mangling.h
+include/lapacke_utils.h
+lib/cmake/lapacke-${PKGVERSION}/lapacke-config-version.cmake
+lib/cmake/lapacke-${PKGVERSION}/lapacke-config.cmake
+lib/liblapacke.a
+lib/liblapacke.so
+lib/liblapacke.so.3
+lib/liblapacke.so.${PKGVERSION}
+lib/pkgconfig/lapacke.pc
Index: pkgsrc/math/lapacke/buildlink3.mk
diff -u /dev/null pkgsrc/math/lapacke/buildlink3.mk:1.1
--- /dev/null   Tue Apr 20 20:40:47 2021
+++ pkgsrc/math/lapacke/buildlink3.mk   Tue Apr 20 20:40:47 2021
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2021/04/20 20:40:47 thor Exp $
+
+BUILDLINK_TREE+=       lapacke
+
+.if !defined(LAPACKE_BUILDLINK3_MK)
+LAPACKE_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.lapacke+=        lapacke>=3.9.0
+BUILDLINK_PKGSRCDIR.lapacke?=  ../../math/lapacke
+
+.include       "../../mk/blas.buildlink3.mk"
+.endif
+
+BUILDLINK_TREE+=       -lapacke



Home | Main Index | Thread Index | Old Index