import BLAS
The BLAS (Basic Linear Algebra Subprograms) are routines that provide standard building blocks for performing basic vector and matrix operations. help and ok alek@
This commit is contained in:
parent
d8bf723114
commit
6ad45aa186
39
math/blas/Makefile
Normal file
39
math/blas/Makefile
Normal file
@ -0,0 +1,39 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/12/03 21:56:25 steven Exp $
|
||||
|
||||
COMMENT= "Basic Linear Algebra Subprograms"
|
||||
|
||||
DISTNAME= blas
|
||||
PKGNAME= blas-${SHLIB_VER}
|
||||
CATEGORIES= math
|
||||
|
||||
HOMEPAGE= http://www.netlib.org/blas/
|
||||
|
||||
MAINTAINER= Steven Mestdagh <steven@openbsd.org>
|
||||
|
||||
# freely available
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
WANTLIB=
|
||||
|
||||
SHLIB_MAJOR= 1
|
||||
SHLIB_MINOR= 0
|
||||
|
||||
MASTER_SITES= ftp://ftp.netlib.org/blas/ \
|
||||
ftp://netlib.bell-labs.com/netlib/blas/ \
|
||||
http://www.netlib.no/netlib/blas/
|
||||
EXTRACT_SUFX= .tgz
|
||||
DIST_SUBDIR= ${PKGNAME}
|
||||
WRKDIST= ${WRKDIR}
|
||||
|
||||
MAKE_FILE= ${FILESDIR}/Makefile
|
||||
MAKE_ENV= SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR}
|
||||
FAKE_FLAGS= LIBDIR=${LOCALBASE}/lib DEBUGLIBS=no
|
||||
|
||||
# need shared library version for machines which support shared libraries.
|
||||
SHLIB_VER= ${SHLIB_MAJOR}.${SHLIB_MINOR}
|
||||
SUBST_VARS= SHLIB_VER
|
||||
|
||||
.include <bsd.port.mk>
|
4
math/blas/distinfo
Normal file
4
math/blas/distinfo
Normal file
@ -0,0 +1,4 @@
|
||||
MD5 (blas-1.0/blas.tgz) = 5811e4b3dffa7a10956abf923cec1bd4
|
||||
RMD160 (blas-1.0/blas.tgz) = d2cea3ae6156b6f583fae5e590695ffb306abb80
|
||||
SHA1 (blas-1.0/blas.tgz) = ab73fcc69d0c74888aea67a698f60cd91b0d3af2
|
||||
SIZE (blas-1.0/blas.tgz) = 94981
|
29
math/blas/files/Makefile
Normal file
29
math/blas/files/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2005/12/03 21:56:25 steven Exp $
|
||||
# @(#)Makefile 5.7 (Berkeley) 6/27/91
|
||||
|
||||
# BLAS sources
|
||||
LIB=blas
|
||||
SRCS = caxpy.f ccopy.f cdotc.f cdotu.f cgbmv.f cgemm.f cgemv.f \
|
||||
cgerc.f cgeru.f chbmv.f chemm.f chemv.f cher.f cher2.f \
|
||||
cher2k.f cherk.f chpmv.f chpr.f chpr2.f crotg.f cscal.f \
|
||||
csrot.f csscal.f cswap.f csymm.f csyr2k.f csyrk.f ctbmv.f \
|
||||
ctbsv.f ctpmv.f ctpsv.f ctrmm.f ctrmv.f ctrsm.f ctrsv.f \
|
||||
dasum.f daxpy.f dcabs1.f dcopy.f ddot.f dgbmv.f dgemm.f \
|
||||
dgemv.f dger.f dnrm2.f drot.f drotg.f drotm.f drotmg.f \
|
||||
dsbmv.f dscal.f dsdot.f dspmv.f dspr.f dspr2.f dswap.f \
|
||||
dsymm.f dsymv.f dsyr.f dsyr2.f dsyr2k.f dsyrk.f dtbmv.f \
|
||||
dtbsv.f dtpmv.f dtpsv.f dtrmm.f dtrmv.f dtrsm.f dtrsv.f \
|
||||
dzasum.f dznrm2.f icamax.f idamax.f isamax.f izamax.f lsame.f \
|
||||
sasum.f saxpy.f scasum.f scnrm2.f scopy.f sdot.f sdsdot.f \
|
||||
sgbmv.f sgemm.f sgemv.f sger.f snrm2.f srot.f srotg.f \
|
||||
srotm.f srotmg.f ssbmv.f sscal.f sspmv.f sspr.f sspr2.f \
|
||||
sswap.f ssymm.f ssymv.f ssyr.f ssyr2.f ssyr2k.f ssyrk.f \
|
||||
stbmv.f stbsv.f stpmv.f stpsv.f strmm.f strmv.f strsm.f \
|
||||
strsv.f xerbla.f zaxpy.f zcopy.f zdotc.f zdotu.f zdrot.f \
|
||||
zdscal.f zgbmv.f zgemm.f zgemv.f zgerc.f zgeru.f zhbmv.f \
|
||||
zhemm.f zhemv.f zher.f zher2.f zher2k.f zherk.f zhpmv.f \
|
||||
zhpr.f zhpr2.f zrotg.f zscal.f zswap.f zsymm.f zsyr2k.f \
|
||||
zsyrk.f ztbmv.f ztbsv.f ztpmv.f ztpsv.f ztrmm.f ztrmv.f \
|
||||
ztrsm.f ztrsv.f
|
||||
|
||||
.include <bsd.lib.mk>
|
8
math/blas/pkg/DESCR
Normal file
8
math/blas/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
The BLAS (Basic Linear Algebra Subprograms) are routines that provide
|
||||
standard building blocks for performing basic vector and matrix
|
||||
operations. The Level 1 BLAS perform scalar, vector and vector-vector
|
||||
operations, the Level 2 BLAS perform matrix-vector operations, and
|
||||
the Level 3 BLAS perform matrix-matrix operations. Because the BLAS
|
||||
are efficient, portable, and widely available, they are commonly used
|
||||
in the development of high quality linear algebra software, LAPACK
|
||||
for example.
|
2
math/blas/pkg/PFRAG.shared
Normal file
2
math/blas/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2005/12/03 21:56:25 steven Exp $
|
||||
@lib lib/libblas.so.${SHLIB_VER}
|
5
math/blas/pkg/PLIST
Normal file
5
math/blas/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2005/12/03 21:56:25 steven Exp $
|
||||
%%SHARED%%
|
||||
lib/libblas.a
|
||||
lib/libblas_p.a
|
||||
lib/libblas_pic.a
|
Loading…
Reference in New Issue
Block a user