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

Antonio Rojas arojas at archlinux.org
Mon Nov 16 20:00:43 UTC 2015


    Date: Monday, November 16, 2015 @ 21:00:43
  Author: arojas
Revision: 251095

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

Added:
  lapack/repos/testing-i686/
  lapack/repos/testing-i686/LICENSE.blas
    (from rev 251094, lapack/trunk/LICENSE.blas)
  lapack/repos/testing-i686/PKGBUILD
    (from rev 251094, lapack/trunk/PKGBUILD)
  lapack/repos/testing-i686/lapack-3.1.1-make.inc.patch
    (from rev 251094, lapack/trunk/lapack-3.1.1-make.inc.patch)
  lapack/repos/testing-x86_64/
  lapack/repos/testing-x86_64/LICENSE.blas
    (from rev 251094, lapack/trunk/LICENSE.blas)
  lapack/repos/testing-x86_64/PKGBUILD
    (from rev 251094, lapack/trunk/PKGBUILD)
  lapack/repos/testing-x86_64/lapack-3.1.1-make.inc.patch
    (from rev 251094, lapack/trunk/lapack-3.1.1-make.inc.patch)

--------------------------------------------+
 testing-i686/LICENSE.blas                  |   19 +++++++
 testing-i686/PKGBUILD                      |   72 +++++++++++++++++++++++++++
 testing-i686/lapack-3.1.1-make.inc.patch   |   23 ++++++++
 testing-x86_64/LICENSE.blas                |   19 +++++++
 testing-x86_64/PKGBUILD                    |   72 +++++++++++++++++++++++++++
 testing-x86_64/lapack-3.1.1-make.inc.patch |   23 ++++++++
 6 files changed, 228 insertions(+)

Copied: lapack/repos/testing-i686/LICENSE.blas (from rev 251094, lapack/trunk/LICENSE.blas)
===================================================================
--- testing-i686/LICENSE.blas	                        (rev 0)
+++ testing-i686/LICENSE.blas	2015-11-16 20:00:43 UTC (rev 251095)
@@ -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 251094, lapack/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-11-16 20:00:43 UTC (rev 251095)
@@ -0,0 +1,72 @@
+# $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')
+pkgver=3.6.0
+pkgrel=1
+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
+  make
+}
+
+package_lapack() {
+  depends=("blas=${pkgver}")
+  
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  rm -r "$pkgdir"/usr/lib/{libblas.*,libcblas.*}
+  rm -r "$pkgdir"/usr/lib/pkgconfig/{blas.*,cblas.*}
+  rm -r "$pkgdir"/usr/lib/cmake/cblas*
+  rm -r "$pkgdir"/usr/include/cblas*
+}
+
+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
+}

Copied: lapack/repos/testing-i686/lapack-3.1.1-make.inc.patch (from rev 251094, lapack/trunk/lapack-3.1.1-make.inc.patch)
===================================================================
--- testing-i686/lapack-3.1.1-make.inc.patch	                        (rev 0)
+++ testing-i686/lapack-3.1.1-make.inc.patch	2015-11-16 20:00:43 UTC (rev 251095)
@@ -0,0 +1,23 @@
+--- lapack-3.1.1/INSTALL/make.inc.gfortran.BAD	2007-05-25 15:34:55.000000000 -0500
++++ lapack-3.1.1/INSTALL/make.inc.gfortran	2007-05-25 15:35:51.000000000 -0500
+@@ -8,7 +8,7 @@ SHELL = /bin/sh
+ #
+ #  The machine (platform) identifier to append to the library names
+ #
+-PLAT = _LINUX
++PLAT = 
+ #  
+ #  Modify the FORTRAN and OPTS definitions to refer to the
+ #  compiler and desired compiler options for your machine.  NOOPT
+@@ -17,9 +17,9 @@ PLAT = _LINUX
+ #  desired load options for your machine.
+ #
+ FORTRAN  = gfortran 
+-OPTS     = -O2
++#OPTS     = -O2
+ DRVOPTS  = $(OPTS)
+-NOOPT    = -O0
++NOOPT    = 
+ LOADER   = gfortran
+ LOADOPTS =
+ #

Copied: lapack/repos/testing-x86_64/LICENSE.blas (from rev 251094, lapack/trunk/LICENSE.blas)
===================================================================
--- testing-x86_64/LICENSE.blas	                        (rev 0)
+++ testing-x86_64/LICENSE.blas	2015-11-16 20:00:43 UTC (rev 251095)
@@ -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 251094, lapack/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-11-16 20:00:43 UTC (rev 251095)
@@ -0,0 +1,72 @@
+# $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')
+pkgver=3.6.0
+pkgrel=1
+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
+  make
+}
+
+package_lapack() {
+  depends=("blas=${pkgver}")
+  
+  cd build
+  make DESTDIR="$pkgdir" install
+
+  rm -r "$pkgdir"/usr/lib/{libblas.*,libcblas.*}
+  rm -r "$pkgdir"/usr/lib/pkgconfig/{blas.*,cblas.*}
+  rm -r "$pkgdir"/usr/lib/cmake/cblas*
+  rm -r "$pkgdir"/usr/include/cblas*
+}
+
+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
+}

Copied: lapack/repos/testing-x86_64/lapack-3.1.1-make.inc.patch (from rev 251094, lapack/trunk/lapack-3.1.1-make.inc.patch)
===================================================================
--- testing-x86_64/lapack-3.1.1-make.inc.patch	                        (rev 0)
+++ testing-x86_64/lapack-3.1.1-make.inc.patch	2015-11-16 20:00:43 UTC (rev 251095)
@@ -0,0 +1,23 @@
+--- lapack-3.1.1/INSTALL/make.inc.gfortran.BAD	2007-05-25 15:34:55.000000000 -0500
++++ lapack-3.1.1/INSTALL/make.inc.gfortran	2007-05-25 15:35:51.000000000 -0500
+@@ -8,7 +8,7 @@ SHELL = /bin/sh
+ #
+ #  The machine (platform) identifier to append to the library names
+ #
+-PLAT = _LINUX
++PLAT = 
+ #  
+ #  Modify the FORTRAN and OPTS definitions to refer to the
+ #  compiler and desired compiler options for your machine.  NOOPT
+@@ -17,9 +17,9 @@ PLAT = _LINUX
+ #  desired load options for your machine.
+ #
+ FORTRAN  = gfortran 
+-OPTS     = -O2
++#OPTS     = -O2
+ DRVOPTS  = $(OPTS)
+-NOOPT    = -O0
++NOOPT    = 
+ LOADER   = gfortran
+ LOADOPTS =
+ #



More information about the arch-commits mailing list