pkgsrc-WIP-changes archive

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

lapacke: the C interface to LAPACK



Module Name:	pkgsrc-wip
Committed By:	Dr. Thomas Orgis <thomas.orgis%uni-hamburg.de@localhost>
Pushed By:	thor
Date:		Sat Mar 23 11:18:27 2019 +0100
Changeset:	83afd955480b4889b3ba47406c9527c37cbe0fb4

Modified Files:
	Makefile
Added Files:
	lapacke-ng/DESCR
	lapacke-ng/Makefile
	lapacke-ng/PLIST
	lapacke-ng/buildlink3.mk

Log Message:
lapacke: the C interface to LAPACK

The last of the lapack-ng-based packages in its first
iteration.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=83afd955480b4889b3ba47406c9527c37cbe0fb4

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

diffstat:
 Makefile                 |  1 +
 lapacke-ng/DESCR         |  2 ++
 lapacke-ng/Makefile      | 12 ++++++++++++
 lapacke-ng/PLIST         | 13 +++++++++++++
 lapacke-ng/buildlink3.mk | 13 +++++++++++++
 5 files changed, 41 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 356a957f81..8405b24d01 100644
--- a/Makefile
+++ b/Makefile
@@ -1756,6 +1756,7 @@ SUBDIR+=	labyrinth
 SUBDIR+=	lambertw
 SUBDIR+=	lander
 SUBDIR+=	lapack-ng
+SUBDIR+=	lapacke-ng
 SUBDIR+=	lariza
 SUBDIR+=	lasi
 SUBDIR+=	last-exit
diff --git a/lapacke-ng/DESCR b/lapacke-ng/DESCR
new file mode 100644
index 0000000000..f362526309
--- /dev/null
+++ b/lapacke-ng/DESCR
@@ -0,0 +1,2 @@
+This is the C wrapper to the Linear Algebra PACKage (LAPACKE),
+extracted from the Netlib reference implementation of LAPACK.
diff --git a/lapacke-ng/Makefile b/lapacke-ng/Makefile
new file mode 100644
index 0000000000..b51807b13d
--- /dev/null
+++ b/lapacke-ng/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD$
+
+COMMENT=	C interface to a LAPACK library
+LAPACK_PART=	lapacke
+LAPACK_PART_CMAKE_ARGS=	\
+	-DUSE_OPTIMIZED_BLAS=ON \
+	-DBLAS_LIBRARIES="-lblas" \
+	-DUSE_OPTIMIZED_LAPACK=ON \
+	-DLAPACK_LIBRARIES="-llapack" \
+	-DCBLAS=OFF -DLAPACKE=ON
+
+.include "../lapack-ng/Makefile.common"
diff --git a/lapacke-ng/PLIST b/lapacke-ng/PLIST
new file mode 100644
index 0000000000..5d39ad2ad8
--- /dev/null
+++ b/lapacke-ng/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD$
+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/cmake/lapacke-${PKGVERSION}/lapacke-targets-release.cmake
+lib/cmake/lapacke-${PKGVERSION}/lapacke-targets.cmake
+lib/liblapacke.so
+lib/liblapacke.so.3
+lib/liblapacke.so.${PKGVERSION}
+lib/pkgconfig/lapacke.pc
diff --git a/lapacke-ng/buildlink3.mk b/lapacke-ng/buildlink3.mk
new file mode 100644
index 0000000000..47b3fe5f3c
--- /dev/null
+++ b/lapacke-ng/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	lapacke
+
+.if !defined(CBLAS_BUILDLINK3_MK)
+CBLAS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.cblas+=	cblas-ng>=3.8.0
+BUILDLINK_PKGSRCDIR.lapacke?=	../../wip/lapacke-ng
+BUILDLINK_DEPMETHOD.lapacke?=	full
+.endif
+
+BUILDLINK_TREE+=	-lapacke


Home | Main Index | Thread Index | Old Index