pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c54f62f7d708
branches:  trunk
changeset: 450678:c54f62f7d708
user:      thor <thor%pkgsrc.org@localhost>
date:      Tue Apr 20 20:40:47 2021 +0000

description:
math/lapacke: import from wip

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

diffstat:

 math/Makefile              |   3 ++-
 math/lapacke/DESCR         |   2 ++
 math/lapacke/Makefile      |  14 ++++++++++++++
 math/lapacke/PLIST         |  13 +++++++++++++
 math/lapacke/buildlink3.mk |  14 ++++++++++++++
 5 files changed, 45 insertions(+), 1 deletions(-)

diffs (76 lines):

diff -r 58226eb77b43 -r c54f62f7d708 math/Makefile
--- a/math/Makefile     Tue Apr 20 20:37:48 2021 +0000
+++ b/math/Makefile     Tue Apr 20 20:40:47 2021 +0000
@@ -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+=       kcalc
 SUBDIR+=       kissfft
 SUBDIR+=       lapack
+SUBDIR+=       lapacke
 SUBDIR+=       libffm
 SUBDIR+=       libint
 SUBDIR+=       libixion
diff -r 58226eb77b43 -r c54f62f7d708 math/lapacke/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/lapacke/DESCR        Tue Apr 20 20:40:47 2021 +0000
@@ -0,0 +1,2 @@
+This is the C wrapper to the Linear Algebra PACKage (LAPACKE),
+extracted from the Netlib reference implementation of LAPACK.
diff -r 58226eb77b43 -r c54f62f7d708 math/lapacke/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/lapacke/Makefile     Tue Apr 20 20:40:47 2021 +0000
@@ -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"
diff -r 58226eb77b43 -r c54f62f7d708 math/lapacke/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/lapacke/PLIST        Tue Apr 20 20:40:47 2021 +0000
@@ -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
diff -r 58226eb77b43 -r c54f62f7d708 math/lapacke/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/lapacke/buildlink3.mk        Tue Apr 20 20:40:47 2021 +0000
@@ -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