Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/cblas: new aport

From: Jose Maria Garcia <josemaria.alkala_at_gmail.com>
Date: Sat, 18 Nov 2017 12:02:51 +0100

http://www.netlib.org/blas/
BLAS (Basic Linear Algebra Subprograms) - C interface
---
 testing/cblas/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)
 create mode 100644 testing/cblas/APKBUILD
diff --git a/testing/cblas/APKBUILD b/testing/cblas/APKBUILD
new file mode 100644
index 0000000000..524a2b71d7
--- /dev/null
+++ b/testing/cblas/APKBUILD
_at_@ -0,0 +1,43 @@
+# Contributor: Jose Maria Garcia <josemaria.alkala_at_gmail.com>
+# Maintainer: Jose Maria Garcia <josemaria.alkala_at_gmail.com>
+pkgname=cblas
+_pkgname=lapack
+pkgver=3.8.0
+pkgrel=0
+pkgdesc="BLAS (Basic Linear Algebra Subprograms) - C interface"
+url="http://www.netlib.org/blas/"
+arch="all"
+license="BSD"
+depends="blas"
+makedepends="cmake gfortran gcc blas"
+install=""
+subpackages="$pkgname-dev" #$pkgname-doc
+source="http://www.netlib.org/lapack/${_pkgname}-${pkgver}.tar.gz"
+builddir="$srcdir/${_pkgname}-${pkgver}/"
+
+build() {
+	cd "$builddir"
+	install -d build
+	cd build
+	cmake ../ \
+	    -DCMAKE_BUILD_TYPE=Release \
+	    -DCMAKE_SKIP_RPATH=ON \
+	    -DBUILD_SHARED_LIBS=ON \
+	    -DBUILD_TESTING=OFF \
+	    -DCMAKE_INSTALL_PREFIX=/usr \
+	    -DCMAKE_INSTALL_LIBDIR=lib \
+	    -DCMAKE_Fortran_COMPILER=gfortran \
+	    -DLAPACKE_WITH_TMG=ON \
+	    -DLAPACKE=ON \
+	    -DCBLAS=ON \
+	    -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
+	    -DBUILD_DEPRECATED=ON
+	make cblas
+}
+
+package() {
+	cd "$builddir/build/CBLAS/"
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="17786cb7306fccdc9b4a242de7f64fc261ebe6a10b6ec55f519deb4cb673cb137e8742aa5698fd2dc52f1cd56d3bd116af3f593a01dcf6770c4dcc86c50b2a7f  lapack-3.8.0.tar.gz"
-- 
2.15.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Sat Nov 18 2017 - 12:02:51 GMT