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

Antonio Rojas arojas at archlinux.org
Fri Jun 24 18:48:21 UTC 2016


    Date: Friday, June 24, 2016 @ 18:48:21
  Author: arojas
Revision: 270608

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

Added:
  lapack/repos/testing-i686/
  lapack/repos/testing-i686/LICENSE.blas
    (from rev 270607, lapack/trunk/LICENSE.blas)
  lapack/repos/testing-i686/PKGBUILD
    (from rev 270607, lapack/trunk/PKGBUILD)
  lapack/repos/testing-i686/lapack-fix-pkgconfig.patch
    (from rev 270607, lapack/trunk/lapack-fix-pkgconfig.patch)
  lapack/repos/testing-x86_64/
  lapack/repos/testing-x86_64/LICENSE.blas
    (from rev 270607, lapack/trunk/LICENSE.blas)
  lapack/repos/testing-x86_64/PKGBUILD
    (from rev 270607, lapack/trunk/PKGBUILD)
  lapack/repos/testing-x86_64/lapack-fix-pkgconfig.patch
    (from rev 270607, lapack/trunk/lapack-fix-pkgconfig.patch)

-------------------------------------------+
 testing-i686/LICENSE.blas                 |   19 +++++++
 testing-i686/PKGBUILD                     |   76 ++++++++++++++++++++++++++++
 testing-i686/lapack-fix-pkgconfig.patch   |   46 ++++++++++++++++
 testing-x86_64/LICENSE.blas               |   19 +++++++
 testing-x86_64/PKGBUILD                   |   76 ++++++++++++++++++++++++++++
 testing-x86_64/lapack-fix-pkgconfig.patch |   46 ++++++++++++++++
 6 files changed, 282 insertions(+)

Copied: lapack/repos/testing-i686/LICENSE.blas (from rev 270607, lapack/trunk/LICENSE.blas)
===================================================================
--- testing-i686/LICENSE.blas	                        (rev 0)
+++ testing-i686/LICENSE.blas	2016-06-24 18:48:21 UTC (rev 270608)
@@ -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/testing-i686/PKGBUILD (from rev 270607, lapack/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-06-24 18:48:21 UTC (rev 270608)
@@ -0,0 +1,76 @@
+# $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.1
+pkgrel=1
+url="http://www.netlib.org/lapack"
+pkgdesc="Linear Algebra PACKage"
+makedepends=('gcc-fortran' 'cmake' 'python')
+arch=('i686' 'x86_64')
+license=("custom")
+source=(http://www.netlib.org/${pkgbase}/${pkgbase}-${pkgver}.tgz LICENSE.blas)
+sha1sums=('7220a9bc9c766cb513007f313b804d88f110c228'
+          '2491a151a37f0162b25fc4e4e9a8ac444b574a76')
+
+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")
+  
+  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")
+
+  cd build/CBLAS
+  make DESTDIR="$pkgdir" install
+}
+
+package_lapacke() {
+  pkgdesc="C interface to LAPACK"
+  depends=("lapack")
+
+  cd build/LAPACKE
+  make DESTDIR="$pkgdir" install
+}
+

Copied: lapack/repos/testing-i686/lapack-fix-pkgconfig.patch (from rev 270607, lapack/trunk/lapack-fix-pkgconfig.patch)
===================================================================
--- testing-i686/lapack-fix-pkgconfig.patch	                        (rev 0)
+++ testing-i686/lapack-fix-pkgconfig.patch	2016-06-24 18:48:21 UTC (rev 270608)
@@ -0,0 +1,46 @@
+From b5a386540793536bec214254d21b404c5f64040b Mon Sep 17 00:00:00 2001
+From: julie <julie at 8a072113-8704-0410-8d35-dd094bca7971>
+Date: Wed, 2 Mar 2016 04:00:38 +0000
+Subject: [PATCH] Fix for pkgconfig files lapack.pc, blas.pc - PATCH sent by
+ Christoph Conrads on March 1st 2016
+
+git-svn-id: https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk@1733 8a072113-8704-0410-8d35-dd094bca7971
+---
+ BLAS/blas.pc.in | 6 +++---
+ lapack.pc.in    | 6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/BLAS/blas.pc.in b/BLAS/blas.pc.in
+index 845a25c..b8963c5 100644
+--- a/BLAS/blas.pc.in
++++ b/BLAS/blas.pc.in
+@@ -1,9 +1,9 @@
+-prefix=@prefix@
+-libdir=@libdir@
++prefix=@CMAKE_INSTALL_PREFIX@
++libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
+ 
+ Name: blas
+ Description: Basic Linear Algebra Subprograms F77 reference implementations
+ Version: @LAPACK_VERSION@
+ URL: http://www.netlib.org/blas/
+-Libs: -L${libdir} -lblas
++Libs: -L at CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ -lblas
+ Libs.private: -lm
+diff --git a/lapack.pc.in b/lapack.pc.in
+index d34c870..4d4fe01 100644
+--- a/lapack.pc.in
++++ b/lapack.pc.in
+@@ -1,9 +1,9 @@
+-prefix=@prefix@
+-libdir=@libdir@
++prefix=@CMAKE_INSTALL_PREFIX@
++libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
+ 
+ Name: lapack
+ Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage
+ Version: @LAPACK_VERSION@
+ URL: http://www.netlib.org/lapack/
+-Libs: -L${libdir} -llapack
++Libs: -L at CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ -llapack
+ Requires: blas

Copied: lapack/repos/testing-x86_64/LICENSE.blas (from rev 270607, lapack/trunk/LICENSE.blas)
===================================================================
--- testing-x86_64/LICENSE.blas	                        (rev 0)
+++ testing-x86_64/LICENSE.blas	2016-06-24 18:48:21 UTC (rev 270608)
@@ -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/testing-x86_64/PKGBUILD (from rev 270607, lapack/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-06-24 18:48:21 UTC (rev 270608)
@@ -0,0 +1,76 @@
+# $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.1
+pkgrel=1
+url="http://www.netlib.org/lapack"
+pkgdesc="Linear Algebra PACKage"
+makedepends=('gcc-fortran' 'cmake' 'python')
+arch=('i686' 'x86_64')
+license=("custom")
+source=(http://www.netlib.org/${pkgbase}/${pkgbase}-${pkgver}.tgz LICENSE.blas)
+sha1sums=('7220a9bc9c766cb513007f313b804d88f110c228'
+          '2491a151a37f0162b25fc4e4e9a8ac444b574a76')
+
+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")
+  
+  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")
+
+  cd build/CBLAS
+  make DESTDIR="$pkgdir" install
+}
+
+package_lapacke() {
+  pkgdesc="C interface to LAPACK"
+  depends=("lapack")
+
+  cd build/LAPACKE
+  make DESTDIR="$pkgdir" install
+}
+

Copied: lapack/repos/testing-x86_64/lapack-fix-pkgconfig.patch (from rev 270607, lapack/trunk/lapack-fix-pkgconfig.patch)
===================================================================
--- testing-x86_64/lapack-fix-pkgconfig.patch	                        (rev 0)
+++ testing-x86_64/lapack-fix-pkgconfig.patch	2016-06-24 18:48:21 UTC (rev 270608)
@@ -0,0 +1,46 @@
+From b5a386540793536bec214254d21b404c5f64040b Mon Sep 17 00:00:00 2001
+From: julie <julie at 8a072113-8704-0410-8d35-dd094bca7971>
+Date: Wed, 2 Mar 2016 04:00:38 +0000
+Subject: [PATCH] Fix for pkgconfig files lapack.pc, blas.pc - PATCH sent by
+ Christoph Conrads on March 1st 2016
+
+git-svn-id: https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk@1733 8a072113-8704-0410-8d35-dd094bca7971
+---
+ BLAS/blas.pc.in | 6 +++---
+ lapack.pc.in    | 6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/BLAS/blas.pc.in b/BLAS/blas.pc.in
+index 845a25c..b8963c5 100644
+--- a/BLAS/blas.pc.in
++++ b/BLAS/blas.pc.in
+@@ -1,9 +1,9 @@
+-prefix=@prefix@
+-libdir=@libdir@
++prefix=@CMAKE_INSTALL_PREFIX@
++libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
+ 
+ Name: blas
+ Description: Basic Linear Algebra Subprograms F77 reference implementations
+ Version: @LAPACK_VERSION@
+ URL: http://www.netlib.org/blas/
+-Libs: -L${libdir} -lblas
++Libs: -L at CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ -lblas
+ Libs.private: -lm
+diff --git a/lapack.pc.in b/lapack.pc.in
+index d34c870..4d4fe01 100644
+--- a/lapack.pc.in
++++ b/lapack.pc.in
+@@ -1,9 +1,9 @@
+-prefix=@prefix@
+-libdir=@libdir@
++prefix=@CMAKE_INSTALL_PREFIX@
++libdir=@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@
+ 
+ Name: lapack
+ Description: FORTRAN reference implementation of LAPACK Linear Algebra PACKage
+ Version: @LAPACK_VERSION@
+ URL: http://www.netlib.org/lapack/
+-Libs: -L${libdir} -llapack
++Libs: -L at CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@ -llapack
+ Requires: blas



More information about the arch-commits mailing list