[arch-commits] Commit in lapack/repos (6 files)

Antonio Rojas arojas at archlinux.org
Sun Jan 24 11:46:07 UTC 2016


    Date: Sunday, January 24, 2016 @ 12:46:07
  Author: arojas
Revision: 258562

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  lapack/repos/staging-i686/
  lapack/repos/staging-i686/LICENSE.blas
    (from rev 258561, lapack/trunk/LICENSE.blas)
  lapack/repos/staging-i686/PKGBUILD
    (from rev 258561, lapack/trunk/PKGBUILD)
  lapack/repos/staging-x86_64/
  lapack/repos/staging-x86_64/LICENSE.blas
    (from rev 258561, lapack/trunk/LICENSE.blas)
  lapack/repos/staging-x86_64/PKGBUILD
    (from rev 258561, lapack/trunk/PKGBUILD)

-----------------------------+
 staging-i686/LICENSE.blas   |   19 +++++++++
 staging-i686/PKGBUILD       |   82 ++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/LICENSE.blas |   19 +++++++++
 staging-x86_64/PKGBUILD     |   82 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 202 insertions(+)

Copied: lapack/repos/staging-i686/LICENSE.blas (from rev 258561, lapack/trunk/LICENSE.blas)
===================================================================
--- staging-i686/LICENSE.blas	                        (rev 0)
+++ staging-i686/LICENSE.blas	2016-01-24 11:46:07 UTC (rev 258562)
@@ -0,0 +1,19 @@
+From: http://www.netlib.org/blas/faq.html
+
+ 2) Are there legal restrictions on the use of BLAS reference
+    implementation software? 
+
+The reference BLAS is a freely-available software package. It is
+available from netlib via anonymous ftp and the World Wide Web. Thus,
+it can be included in commercial software packages (and has been). We
+only ask that proper credit be given to the authors. 
+
+Like all software, it is copyrighted. It is not trademarked, but we do
+ask the following: 
+
+If you modify the source for these routines we ask that you change the
+name of the routine and comment the changes made to the original. 
+
+We will gladly answer any questions regarding the software. If a
+modification is done, however, it is the responsibility of the person
+who modified the routine to provide support. 

Copied: lapack/repos/staging-i686/PKGBUILD (from rev 258561, lapack/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2016-01-24 11:46:07 UTC (rev 258562)
@@ -0,0 +1,82 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Jason Taylor <jftaylor21 at gmail.com>
+
+pkgbase=lapack
+pkgname=('lapack' 'blas' 'cblas' 'lapacke')
+pkgver=3.6.0
+pkgrel=3
+url="http://www.netlib.org/lapack"
+pkgdesc="Linear Algebra PACKage"
+makedepends=('gcc-fortran' 'cmake')
+arch=('i686' 'x86_64')
+license=("custom")
+source=(http://www.netlib.org/${pkgbase}/${pkgbase}-${pkgver}.tgz
+        LICENSE.blas)
+sha1sums=('7e993de16d80d52b22b6093465eeb90c93c7a2e7'
+          '2491a151a37f0162b25fc4e4e9a8ac444b574a76')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|/CMAKE/|/cmake/|' -i CBLAS/CMakeLists.txt
+}
+
+build() {
+  install -d build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -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=ON \
+    -DCBLAS=ON \
+    -DBUILD_DEPRECATED=ON
+  make
+}
+
+package_lapack() {
+  depends=("blas=${pkgver}")
+  
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  rm -r "$pkgdir"/usr/lib/{libblas.*,libcblas.*,liblapacke.*}
+  rm -r "$pkgdir"/usr/lib/pkgconfig/{blas.*,cblas.*,lapacke.*}
+  rm -r "$pkgdir"/usr/lib/cmake/{cblas*,lapacke*}
+  rm -r "$pkgdir"/usr/include
+}
+
+package_blas() {
+  pkgdesc="Basic Linear Algebra Subprograms"
+  depends=('gcc-libs')
+
+  cd build/BLAS
+  make DESTDIR="$pkgdir" install
+  
+  install -m755 -d "${pkgdir}/usr/share/licenses/blas"
+  install -m644 "${srcdir}/LICENSE.blas" \
+    "${pkgdir}/usr/share/licenses/blas/"
+}
+
+package_cblas() {
+  pkgdesc=("C interface to BLAS")
+  depends=("blas=$pkgver")
+
+  cd build/CBLAS
+  make DESTDIR="$pkgdir" install
+}
+
+package_lapacke() {
+  pkgdesc=("C interface to LAPACK")
+  depends=("lapack=$pkgver")
+
+  cd build/LAPACKE
+  make DESTDIR="$pkgdir" install
+}
+

Copied: lapack/repos/staging-x86_64/LICENSE.blas (from rev 258561, lapack/trunk/LICENSE.blas)
===================================================================
--- staging-x86_64/LICENSE.blas	                        (rev 0)
+++ staging-x86_64/LICENSE.blas	2016-01-24 11:46:07 UTC (rev 258562)
@@ -0,0 +1,19 @@
+From: http://www.netlib.org/blas/faq.html
+
+ 2) Are there legal restrictions on the use of BLAS reference
+    implementation software? 
+
+The reference BLAS is a freely-available software package. It is
+available from netlib via anonymous ftp and the World Wide Web. Thus,
+it can be included in commercial software packages (and has been). We
+only ask that proper credit be given to the authors. 
+
+Like all software, it is copyrighted. It is not trademarked, but we do
+ask the following: 
+
+If you modify the source for these routines we ask that you change the
+name of the routine and comment the changes made to the original. 
+
+We will gladly answer any questions regarding the software. If a
+modification is done, however, it is the responsibility of the person
+who modified the routine to provide support. 

Copied: lapack/repos/staging-x86_64/PKGBUILD (from rev 258561, lapack/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2016-01-24 11:46:07 UTC (rev 258562)
@@ -0,0 +1,82 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+# Contributor: Jason Taylor <jftaylor21 at gmail.com>
+
+pkgbase=lapack
+pkgname=('lapack' 'blas' 'cblas' 'lapacke')
+pkgver=3.6.0
+pkgrel=3
+url="http://www.netlib.org/lapack"
+pkgdesc="Linear Algebra PACKage"
+makedepends=('gcc-fortran' 'cmake')
+arch=('i686' 'x86_64')
+license=("custom")
+source=(http://www.netlib.org/${pkgbase}/${pkgbase}-${pkgver}.tgz
+        LICENSE.blas)
+sha1sums=('7e993de16d80d52b22b6093465eeb90c93c7a2e7'
+          '2491a151a37f0162b25fc4e4e9a8ac444b574a76')
+
+prepare() {
+  cd $pkgname-$pkgver
+  sed -e 's|/CMAKE/|/cmake/|' -i CBLAS/CMakeLists.txt
+}
+
+build() {
+  install -d build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -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=ON \
+    -DCBLAS=ON \
+    -DBUILD_DEPRECATED=ON
+  make
+}
+
+package_lapack() {
+  depends=("blas=${pkgver}")
+  
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  rm -r "$pkgdir"/usr/lib/{libblas.*,libcblas.*,liblapacke.*}
+  rm -r "$pkgdir"/usr/lib/pkgconfig/{blas.*,cblas.*,lapacke.*}
+  rm -r "$pkgdir"/usr/lib/cmake/{cblas*,lapacke*}
+  rm -r "$pkgdir"/usr/include
+}
+
+package_blas() {
+  pkgdesc="Basic Linear Algebra Subprograms"
+  depends=('gcc-libs')
+
+  cd build/BLAS
+  make DESTDIR="$pkgdir" install
+  
+  install -m755 -d "${pkgdir}/usr/share/licenses/blas"
+  install -m644 "${srcdir}/LICENSE.blas" \
+    "${pkgdir}/usr/share/licenses/blas/"
+}
+
+package_cblas() {
+  pkgdesc=("C interface to BLAS")
+  depends=("blas=$pkgver")
+
+  cd build/CBLAS
+  make DESTDIR="$pkgdir" install
+}
+
+package_lapacke() {
+  pkgdesc=("C interface to LAPACK")
+  depends=("lapack=$pkgver")
+
+  cd build/LAPACKE
+  make DESTDIR="$pkgdir" install
+}
+



More information about the arch-commits mailing list