pkgsrc-WIP-changes archive

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

lapack, blas: added dummy blas package pulling in lapack



Module Name:	pkgsrc-wip
Committed By:	Dr. Thomas Orgis <thomas.orgis%uni-hamburg.de@localhost>
Pushed By:	thor
Date:		Tue Mar 26 17:43:46 2019 +0100
Changeset:	0f455c6f0aa30233aa405d1e7be26e3f6a1c5c8f

Modified Files:
	lapack/DESCR
Added Files:
	blas/DESCR
	blas/Makefile
	blas/PLIST
	blas/buildlink3.mk

Log Message:
lapack, blas: added dummy blas package pulling in lapack

As the new lapack package provides both libblas.so and liblapack.so,
mirroring optimized BLAS offerings, a dummy blas package is maybe useful
to replace the existing math/blas. This keeps packages working that still
directly use math/blas instead of mk/blas.buildlink3.mk, and also any
bulk build scripts that have it in a list of packages to build.

Note that the upgrade from installed math/blas and math/lapack does
not work without you removing the old installs first. Pkgsrc cannot
automatically handle this type of conflict yet.

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

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

diffstat:
 blas/DESCR         |  9 +++++++++
 blas/Makefile      | 24 ++++++++++++++++++++++++
 blas/PLIST         |  2 ++
 blas/buildlink3.mk |  3 +++
 lapack/DESCR       | 13 +++++++++++--
 5 files changed, 49 insertions(+), 2 deletions(-)

diffs:
diff --git a/blas/DESCR b/blas/DESCR
new file mode 100644
index 0000000000..c74df4a651
--- /dev/null
+++ b/blas/DESCR
@@ -0,0 +1,9 @@
+The BLAS (Basic Linear Algebra Subprograms) are high quality "building
+block" routines for performing basic vector and matrix
+operations. Level 1 BLAS do vector-vector operations, Level 2 BLAS do
+matrix-vector operations, and Level 3 BLAS do matrix-matrix
+operations. Because the BLAS are efficient, portable, and widely
+available, they're commonly used in the development of high quality
+linear algebra software, LINPACK and LAPACK for example.
+
+This package contains the Fortran 77 reference implementation of BLAS.
diff --git a/blas/Makefile b/blas/Makefile
new file mode 100644
index 0000000000..f49fd85a88
--- /dev/null
+++ b/blas/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+# This is just a dummy to pull in Netlib BLAS from lapack.
+
+# Should the version be kept in sync with lapack?
+# The main point of this package is a smooth transition
+# until everyone uses mk/blas.buildlink3.mk (and people removed
+# math/blas from their pkgsrc-related scripts).
+
+PKGNAME=	blas-3.8.0
+PKGREVISION=	1
+CATEGORIES=	math
+COMMENT=	Transitional BLAS package that depends on lapack
+
+MAINTAINER=	thomas.orgis%uni-hamburg.de@localhost
+HOMEPAGE=	http://www.netlib.org/lapack/
+LICENSE=	modified-bsd
+
+META_PACKAGE=	yes
+
+.include "../lapack/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
+
diff --git a/blas/PLIST b/blas/PLIST
new file mode 100644
index 0000000000..d7d83077d7
--- /dev/null
+++ b/blas/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.4 2004/09/22 08:09:42 jlam Exp $
+lib/libblas.la
diff --git a/blas/buildlink3.mk b/blas/buildlink3.mk
new file mode 100644
index 0000000000..93e8ea1d37
--- /dev/null
+++ b/blas/buildlink3.mk
@@ -0,0 +1,3 @@
+# $NetBSD$
+
+.include "../lapack/buildlink3.mk"
diff --git a/lapack/DESCR b/lapack/DESCR
index 086bc12090..0ae2255372 100644
--- a/lapack/DESCR
+++ b/lapack/DESCR
@@ -1,3 +1,11 @@
+The BLAS (Basic Linear Algebra Subprograms) are high quality "building
+block" routines for performing basic vector and matrix
+operations. Level 1 BLAS do vector-vector operations, Level 2 BLAS do
+matrix-vector operations, and Level 3 BLAS do matrix-matrix
+operations. Because the BLAS are efficient, portable, and widely
+available, they're commonly used in the development of high quality
+linear algebra software, LINPACK and LAPACK for example.
+
 LAPACK is a highly portable Fortran 77 library which provides routines
 for solving systems of simultaneous linear equations, least-squares
 solutions of linear systems of equations, eigenvalue problems, and
@@ -9,5 +17,6 @@ handled, but not general sparse matrices. In all areas, similar
 functionality is provided for real and complex matrices, in both
 single and double precision.
 
-This package delivers only the base BLAS and LAPACK libraries from
-the Netlib reference code (not the C wrappers).
+This package contains the Fortran 77 reference implementation of BLAS
+and LAPACK from Netlib. The C wrappers CBLAS and LAPACKE are provided
+in separate packages.


Home | Main Index | Thread Index | Old Index