[arch-commits] Commit in atlas-lapack-base (15 files)

Antonio Rojas arojas at archlinux.org
Sun Oct 11 18:19:07 UTC 2015


    Date: Sunday, October 11, 2015 @ 20:19:06
  Author: arojas
Revision: 143699

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

Added:
  atlas-lapack-base/repos/
  atlas-lapack-base/repos/community-i686/
  atlas-lapack-base/repos/community-i686/Makefile
    (from rev 143698, atlas-lapack-base/trunk/Makefile)
  atlas-lapack-base/repos/community-i686/PKGBUILD
    (from rev 143698, atlas-lapack-base/trunk/PKGBUILD)
  atlas-lapack-base/repos/community-i686/atlas-lapack-base.install
    (from rev 143698, atlas-lapack-base/trunk/atlas-lapack-base.install)
  atlas-lapack-base/repos/community-i686/atlas-license.txt
    (from rev 143698, atlas-lapack-base/trunk/atlas-license.txt)
  atlas-lapack-base/repos/community-i686/blas-license.txt
    (from rev 143698, atlas-lapack-base/trunk/blas-license.txt)
  atlas-lapack-base/repos/community-i686/disable-throttling-check.patch
    (from rev 143698, atlas-lapack-base/trunk/disable-throttling-check.patch)
  atlas-lapack-base/repos/community-x86_64/
  atlas-lapack-base/repos/community-x86_64/Makefile
    (from rev 143698, atlas-lapack-base/trunk/Makefile)
  atlas-lapack-base/repos/community-x86_64/PKGBUILD
    (from rev 143698, atlas-lapack-base/trunk/PKGBUILD)
  atlas-lapack-base/repos/community-x86_64/atlas-lapack-base.install
    (from rev 143698, atlas-lapack-base/trunk/atlas-lapack-base.install)
  atlas-lapack-base/repos/community-x86_64/atlas-license.txt
    (from rev 143698, atlas-lapack-base/trunk/atlas-license.txt)
  atlas-lapack-base/repos/community-x86_64/blas-license.txt
    (from rev 143698, atlas-lapack-base/trunk/blas-license.txt)
  atlas-lapack-base/repos/community-x86_64/disable-throttling-check.patch
    (from rev 143698, atlas-lapack-base/trunk/disable-throttling-check.patch)

-------------------------------------------------+
 community-i686/Makefile                         |   24 +++++++
 community-i686/PKGBUILD                         |   68 ++++++++++++++++++++++
 community-i686/atlas-lapack-base.install        |    9 ++
 community-i686/atlas-license.txt                |   29 +++++++++
 community-i686/blas-license.txt                 |   20 ++++++
 community-i686/disable-throttling-check.patch   |   13 ++++
 community-x86_64/Makefile                       |   24 +++++++
 community-x86_64/PKGBUILD                       |   68 ++++++++++++++++++++++
 community-x86_64/atlas-lapack-base.install      |    9 ++
 community-x86_64/atlas-license.txt              |   29 +++++++++
 community-x86_64/blas-license.txt               |   20 ++++++
 community-x86_64/disable-throttling-check.patch |   13 ++++
 12 files changed, 326 insertions(+)

Copied: atlas-lapack-base/repos/community-i686/Makefile (from rev 143698, atlas-lapack-base/trunk/Makefile)
===================================================================
--- repos/community-i686/Makefile	                        (rev 0)
+++ repos/community-i686/Makefile	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,24 @@
+include Make.inc
+
+all: libatlas.so libf77blas.so libcblas.so libblas.so liblapack.so
+
+
+libatlas.so: libatlas.a
+	ld $(LDFLAGS) -shared -soname $@ -o $@ --whole-archive libatlas.a \
+	   --no-whole-archive -lc $(LIBS)
+
+libf77blas.so : libf77blas.a libatlas.so
+	ld $(LDFLAGS) -shared -soname libblas.so.3 -o $@ --whole-archive \
+	   libf77blas.a --no-whole-archive $(F77SYSLIB) -L. -latlas
+
+libcblas.so : libcblas.a libatlas.so
+	ld $(LDFLAGS) -shared -soname $@ -o $@ --whole-archive libcblas.a \
+	    -L. -latlas
+
+libblas.so: libf77blas.so
+	ln -s $< $@
+
+liblapack.so : liblapack.a libcblas.so libblas.so
+	ld $(LDFLAGS) -shared -soname liblapack.so.3 -o $@ --whole-archive \
+	   liblapack.a --no-whole-archive $(F77SYSLIB) -L. -lcblas -lblas -lgcc_s
+

Copied: atlas-lapack-base/repos/community-i686/PKGBUILD (from rev 143698, atlas-lapack-base/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Giuseppe Borzi <gborzi___AT___ieee___DOT___org>
+# Contributor: mickele <mimocciola___AT___yahoo___DOT___ com>
+# Contributor: iztok pizorn <pizorn___AT___gmail___DOT___com>
+# Contributor: olivier medoc <o_medoc___AT___yahoo___DOT___fr>
+
+pkgname=atlas-lapack-base
+pkgver=3.10.2
+_lapackver=3.5.0
+pkgrel=1
+pkgdesc="Complete LAPACK and BLAS implementation using optimized ATLAS routines"
+url="http://math-atlas.sourceforge.net/"
+depends=(gcc-libs)
+makedepends=(gcc-fortran)
+arch=(i686 x86_64)
+conflicts=(blas cblas lapack)
+provides=(blas cblas 'lapack=$_lapackver' atlas-lapack)
+license=(custom:blas custom:lapack custom:atlas)
+options=(!makeflags)
+source=(http://www.netlib.org/lapack/lapack-$_lapackver.tgz http://downloads.sourceforge.net/math-atlas/atlas${pkgver}.tar.bz2 blas-license.txt 
+atlas-license.txt Makefile disable-throttling-check.patch)
+noextract=(lapack-$_lapackver.tgz)
+install=$pkgname.install
+md5sums=('b1d3e3e425b2e44a06760ff173104bdf'
+         'a4e21f343dec8f22e7415e339f09f6da'
+         'e8e512ee7a2d550139dcd765f127816b'
+         '4903eb06072dfbf94710691ccb6660bf'
+         'd598a27d392d41b00f8e440f1f8fc2a4'
+         '54f80b9a56f13f960017460c36b725ce')
+
+prepare() {
+  mkdir -p ATLAS/build
+
+# override throttling check (Fedora)
+  patch -p0 -i disable-throttling-check.patch
+}
+
+build() {
+  if [ "$CARCH" = "x86_64" ]; then
+     ARCHITECTURE_BUILD_OPTS="-b 64 -A x86SSE3" # for x86_64
+  else
+     ARCHITECTURE_BUILD_OPTS="-b 32 -A x86SSE2" # for i686
+  fi
+
+  cd ATLAS/build
+  ../configure --prefix=/usr/ $ARCHITECTURE_BUILD_OPTS -Fa alg -fPIC -Si latune 0 -t 0 \
+     --with-netlib-lapack-tarfile="$srcdir"/lapack-$_lapackver.tgz
+  make build
+
+# build shared libraries
+  cd lib
+  cp "$srcdir"/Makefile .
+  make
+}
+
+package() {
+  cd ATLAS/build
+
+  make DESTDIR="$pkgdir"/usr install
+  cp -d lib/*.so* "$pkgdir"/usr/lib
+  ln -sr "$pkgdir"/usr/lib/libblas.so{,.3}
+  ln -sr "$pkgdir"/usr/lib/liblapack.so{,.3}
+
+  install -Dm644 "$srcdir"/blas-license.txt "$pkgdir"/usr/share/licenses/$pkgname/blas-license.txt
+  install -Dm644 "$srcdir"/ATLAS/build/src/lapack/reference/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/lapack-license.txt
+  install -Dm644 "$srcdir"/atlas-license.txt "$pkgdir"/usr/share/licenses/$pkgname/atlas-license.txt
+}

Copied: atlas-lapack-base/repos/community-i686/atlas-lapack-base.install (from rev 143698, atlas-lapack-base/trunk/atlas-lapack-base.install)
===================================================================
--- repos/community-i686/atlas-lapack-base.install	                        (rev 0)
+++ repos/community-i686/atlas-lapack-base.install	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,9 @@
+post_install() {
+  echo "This package provides a generic, not optimized version of ATLAS."
+  echo "In order to improve performance, we recommend compiling a version of ATLAS"
+  echo "optimized for your processor, using the atlas-lapack package in AUR"
+}
+
+post_upgrade() {
+   post_install $1
+}

Copied: atlas-lapack-base/repos/community-i686/atlas-license.txt (from rev 143698, atlas-lapack-base/trunk/atlas-license.txt)
===================================================================
--- repos/community-i686/atlas-license.txt	                        (rev 0)
+++ repos/community-i686/atlas-license.txt	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,29 @@
+             Automatically Tuned Linear Algebra Software v3.8.2
+                    (C) Copyright 1999 R. Clint Whaley
+
+ Code contributers : R. Clint Whaley, Antoine P. Petitet
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+   1. Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+   2. Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions, and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+   3. The name of the ATLAS group or the names of its contributers may
+      not be used to endorse or promote products derived from this
+      software without specific written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ATLAS GROUP OR ITS CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ 

Copied: atlas-lapack-base/repos/community-i686/blas-license.txt (from rev 143698, atlas-lapack-base/trunk/blas-license.txt)
===================================================================
--- repos/community-i686/blas-license.txt	                        (rev 0)
+++ repos/community-i686/blas-license.txt	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,20 @@
+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: atlas-lapack-base/repos/community-i686/disable-throttling-check.patch (from rev 143698, atlas-lapack-base/trunk/disable-throttling-check.patch)
===================================================================
--- repos/community-i686/disable-throttling-check.patch	                        (rev 0)
+++ repos/community-i686/disable-throttling-check.patch	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,13 @@
+diff -up ATLAS/CONFIG/src/config.c.zaloha ATLAS/CONFIG/src/config.c
+--- ATLAS/CONFIG/src/config.c.zaloha	2012-10-25 11:29:02.495425989 +0200
++++ ATLAS/CONFIG/src/config.c	2012-10-25 11:42:10.218216957 +0200
+@@ -711,6 +711,8 @@ int ProbePtrbits(int verb, char *targarg
+ 
+ int ProbeCPUThrottle(int verb, char *targarg, enum OSTYPE OS, enum ASMDIA asmb)
+ {
++   return 0; /* impossible to turn off cpu throttling => ignore */
++             /* this undermines performance of compiled library */
+    int i, iret;
+    char *ln;
+    i = strlen(targarg) + 22 + 12;
+

Copied: atlas-lapack-base/repos/community-x86_64/Makefile (from rev 143698, atlas-lapack-base/trunk/Makefile)
===================================================================
--- repos/community-x86_64/Makefile	                        (rev 0)
+++ repos/community-x86_64/Makefile	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,24 @@
+include Make.inc
+
+all: libatlas.so libf77blas.so libcblas.so libblas.so liblapack.so
+
+
+libatlas.so: libatlas.a
+	ld $(LDFLAGS) -shared -soname $@ -o $@ --whole-archive libatlas.a \
+	   --no-whole-archive -lc $(LIBS)
+
+libf77blas.so : libf77blas.a libatlas.so
+	ld $(LDFLAGS) -shared -soname libblas.so.3 -o $@ --whole-archive \
+	   libf77blas.a --no-whole-archive $(F77SYSLIB) -L. -latlas
+
+libcblas.so : libcblas.a libatlas.so
+	ld $(LDFLAGS) -shared -soname $@ -o $@ --whole-archive libcblas.a \
+	    -L. -latlas
+
+libblas.so: libf77blas.so
+	ln -s $< $@
+
+liblapack.so : liblapack.a libcblas.so libblas.so
+	ld $(LDFLAGS) -shared -soname liblapack.so.3 -o $@ --whole-archive \
+	   liblapack.a --no-whole-archive $(F77SYSLIB) -L. -lcblas -lblas -lgcc_s
+

Copied: atlas-lapack-base/repos/community-x86_64/PKGBUILD (from rev 143698, atlas-lapack-base/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Giuseppe Borzi <gborzi___AT___ieee___DOT___org>
+# Contributor: mickele <mimocciola___AT___yahoo___DOT___ com>
+# Contributor: iztok pizorn <pizorn___AT___gmail___DOT___com>
+# Contributor: olivier medoc <o_medoc___AT___yahoo___DOT___fr>
+
+pkgname=atlas-lapack-base
+pkgver=3.10.2
+_lapackver=3.5.0
+pkgrel=1
+pkgdesc="Complete LAPACK and BLAS implementation using optimized ATLAS routines"
+url="http://math-atlas.sourceforge.net/"
+depends=(gcc-libs)
+makedepends=(gcc-fortran)
+arch=(i686 x86_64)
+conflicts=(blas cblas lapack)
+provides=(blas cblas 'lapack=$_lapackver' atlas-lapack)
+license=(custom:blas custom:lapack custom:atlas)
+options=(!makeflags)
+source=(http://www.netlib.org/lapack/lapack-$_lapackver.tgz http://downloads.sourceforge.net/math-atlas/atlas${pkgver}.tar.bz2 blas-license.txt 
+atlas-license.txt Makefile disable-throttling-check.patch)
+noextract=(lapack-$_lapackver.tgz)
+install=$pkgname.install
+md5sums=('b1d3e3e425b2e44a06760ff173104bdf'
+         'a4e21f343dec8f22e7415e339f09f6da'
+         'e8e512ee7a2d550139dcd765f127816b'
+         '4903eb06072dfbf94710691ccb6660bf'
+         'd598a27d392d41b00f8e440f1f8fc2a4'
+         '54f80b9a56f13f960017460c36b725ce')
+
+prepare() {
+  mkdir -p ATLAS/build
+
+# override throttling check (Fedora)
+  patch -p0 -i disable-throttling-check.patch
+}
+
+build() {
+  if [ "$CARCH" = "x86_64" ]; then
+     ARCHITECTURE_BUILD_OPTS="-b 64 -A x86SSE3" # for x86_64
+  else
+     ARCHITECTURE_BUILD_OPTS="-b 32 -A x86SSE2" # for i686
+  fi
+
+  cd ATLAS/build
+  ../configure --prefix=/usr/ $ARCHITECTURE_BUILD_OPTS -Fa alg -fPIC -Si latune 0 -t 0 \
+     --with-netlib-lapack-tarfile="$srcdir"/lapack-$_lapackver.tgz
+  make build
+
+# build shared libraries
+  cd lib
+  cp "$srcdir"/Makefile .
+  make
+}
+
+package() {
+  cd ATLAS/build
+
+  make DESTDIR="$pkgdir"/usr install
+  cp -d lib/*.so* "$pkgdir"/usr/lib
+  ln -sr "$pkgdir"/usr/lib/libblas.so{,.3}
+  ln -sr "$pkgdir"/usr/lib/liblapack.so{,.3}
+
+  install -Dm644 "$srcdir"/blas-license.txt "$pkgdir"/usr/share/licenses/$pkgname/blas-license.txt
+  install -Dm644 "$srcdir"/ATLAS/build/src/lapack/reference/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/lapack-license.txt
+  install -Dm644 "$srcdir"/atlas-license.txt "$pkgdir"/usr/share/licenses/$pkgname/atlas-license.txt
+}

Copied: atlas-lapack-base/repos/community-x86_64/atlas-lapack-base.install (from rev 143698, atlas-lapack-base/trunk/atlas-lapack-base.install)
===================================================================
--- repos/community-x86_64/atlas-lapack-base.install	                        (rev 0)
+++ repos/community-x86_64/atlas-lapack-base.install	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,9 @@
+post_install() {
+  echo "This package provides a generic, not optimized version of ATLAS."
+  echo "In order to improve performance, we recommend compiling a version of ATLAS"
+  echo "optimized for your processor, using the atlas-lapack package in AUR"
+}
+
+post_upgrade() {
+   post_install $1
+}

Copied: atlas-lapack-base/repos/community-x86_64/atlas-license.txt (from rev 143698, atlas-lapack-base/trunk/atlas-license.txt)
===================================================================
--- repos/community-x86_64/atlas-license.txt	                        (rev 0)
+++ repos/community-x86_64/atlas-license.txt	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,29 @@
+             Automatically Tuned Linear Algebra Software v3.8.2
+                    (C) Copyright 1999 R. Clint Whaley
+
+ Code contributers : R. Clint Whaley, Antoine P. Petitet
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+   1. Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+   2. Redistributions in binary form must reproduce the above copyright
+      notice, this list of conditions, and the following disclaimer in the
+      documentation and/or other materials provided with the distribution.
+   3. The name of the ATLAS group or the names of its contributers may
+      not be used to endorse or promote products derived from this
+      software without specific written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE ATLAS GROUP OR ITS CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+ 

Copied: atlas-lapack-base/repos/community-x86_64/blas-license.txt (from rev 143698, atlas-lapack-base/trunk/blas-license.txt)
===================================================================
--- repos/community-x86_64/blas-license.txt	                        (rev 0)
+++ repos/community-x86_64/blas-license.txt	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,20 @@
+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: atlas-lapack-base/repos/community-x86_64/disable-throttling-check.patch (from rev 143698, atlas-lapack-base/trunk/disable-throttling-check.patch)
===================================================================
--- repos/community-x86_64/disable-throttling-check.patch	                        (rev 0)
+++ repos/community-x86_64/disable-throttling-check.patch	2015-10-11 18:19:06 UTC (rev 143699)
@@ -0,0 +1,13 @@
+diff -up ATLAS/CONFIG/src/config.c.zaloha ATLAS/CONFIG/src/config.c
+--- ATLAS/CONFIG/src/config.c.zaloha	2012-10-25 11:29:02.495425989 +0200
++++ ATLAS/CONFIG/src/config.c	2012-10-25 11:42:10.218216957 +0200
+@@ -711,6 +711,8 @@ int ProbePtrbits(int verb, char *targarg
+ 
+ int ProbeCPUThrottle(int verb, char *targarg, enum OSTYPE OS, enum ASMDIA asmb)
+ {
++   return 0; /* impossible to turn off cpu throttling => ignore */
++             /* this undermines performance of compiled library */
+    int i, iret;
+    char *ln;
+    i = strlen(targarg) + 22 + 12;
+



More information about the arch-commits mailing list