atlas-lapack: removed as obsolete, FS#174

This commit is contained in:
Neofytos Kolokotronis 2016-04-25 21:43:18 +02:00
parent 0b20220b08
commit 03c6c0cd88
7 changed files with 0 additions and 236 deletions

View File

@ -1,109 +0,0 @@
#
# Platform packages for Chakra
#
pkgname=atlas-lapack
pkgver=3.8.4
_lapackver=3.4.0
pkgrel=1
pkgdesc="Complete LAPACK and BLAS implementation using optimised ATLAS routines"
url="http://math-atlas.sourceforge.net/"
depends=('gcc-libs')
makedepends=('binutils' 'sed' 'gcc-fortran')
arch=('i686' 'x86_64')
conflicts=('blas' 'lapack' 'cblas')
provides=("blas" "lapack=$_lapackver" 'cblas')
license=('custom:blas' 'custom:lapack' 'custom:atlas')
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 lapack.patch makefile.shared.mt makefile.shared.st misdetects_i1_as_i2.patch)
md5sums=('02d5706ec03ba885fc246e5fa10d8c70'
'1bb3abde499b492b4be1f1a0759fbfa2'
'38b6acb8ed5691d25863319d30a8b365'
'4903eb06072dfbf94710691ccb6660bf'
'c681f11a9e17d31247570a26e266a506'
'235db0272fc5a17100115d5c45f29700'
'16691a5b602dcb5a20abc525b2ae9cfc'
'628b8f61b0403f23558ce6bf4c723bbc')
build() {
NCPU=`grep "^processor" /proc/cpuinfo | wc -l`
[ -x /usr/bin/cpufreq-info ] && [ $(cpufreq-info -d) != '' ] && {
ICPU=0
while [ $ICPU -lt $NCPU ]; do
STATUS=`cpufreq-info -c $ICPU -p | cut -d' ' -f3`
[ "$STATUS" != "performance" ] && {
msg 'Before building this package, as root you must run'
msg '"cpufreq-set -g performance -c <CPU nr>" for each CPU (<CPU'
msg 'nr> is 0, 1, 2 up to the number of your CPUS.'
return 1
}
let ICPU=ICPU+1
done
}
if [ "$CARCH" = "x86_64" ]; then
ARCHITECTURE_BUILD_OPTS="-b 64" # for x86_64
else
ARCHITECTURE_BUILD_OPTS="-b 32" # for i686
fi
mkdir -p "$srcdir/ATLAS/build"
cd "$srcdir/ATLAS"
patch -p0 -i "$srcdir/misdetects_i1_as_i2.patch"
cd "$srcdir/ATLAS/build"
msg 'Determine compiler and options for LAPACK'
../configure --prefix=/usr/ $ARCHITECTURE_BUILD_OPTS -Fa alg -fPIC
FORTRAN=`grep "F77 =" Make.inc|sed -e 's/ *F77 = //'`
FORTRANOPS=`grep "F77FLAGS =" Make.inc|sed -e 's/ *F77FLAGS = //'`
NOPTS=`echo $FORTRANOPS|sed -e 's/-O[0-9]/-O0/'`
msg 'Build LAPACK'
cd "$srcdir/lapack-$_lapackver"
cp INSTALL/make.inc.gfortran make.inc
patch -Np0 -i "$srcdir/lapack.patch"
make FORTRAN=$FORTRAN OPTS="$FORTRANOPS" NOOPT="$NOPTS" lib
LAPACKLIB="$srcdir/lapack-$_lapackver/liblapack.a"
msg 'Build ATLAS'
cd "$srcdir/ATLAS/build"
rm -rf *
../configure --prefix=/usr/ $ARCHITECTURE_BUILD_OPTS -Fa alg -fPIC \
--with-netlib-lapack="$LAPACKLIB"
make -j1 build
make -j1 check
make -j1 time
msg 'Build shared libraries'
cd lib
if [ 1 -lt $NCPU ]; then
cp "$srcdir/makefile.shared.mt" makefile
else
cp "$srcdir/makefile.shared.st" makefile
fi
make -f makefile
}
package() {
NCPU=`grep "^processor" /proc/cpuinfo | wc -l`
cd "$srcdir/ATLAS/build"
make DESTDIR="$pkgdir/usr" install
cp -d lib/*.so* "$pkgdir/usr/lib"
cd "$pkgdir/usr/lib"
if [ 1 -lt $NCPU ]; then
mv -f libptcblas.a libcblas.a
mv -f libptf77blas.a libf77blas.a
else
rm -f *pt*
fi
ln -s libf77blas.so libblas.so.3
ln -s liblapack.so.$_lapackver liblapack.so.3
ln -s liblapack.so.3 liblapack.so
install -Dm644 "${srcdir}/blas-license.txt" \
"${pkgdir}/usr/share/licenses/$pkgname/blas-license.txt"
install -Dm644 "${srcdir}/lapack-$_lapackver/LICENSE" \
"${pkgdir}/usr/share/licenses/$pkgname/lapack-license.txt"
install -Dm644 "${srcdir}/atlas-license.txt" \
"${pkgdir}/usr/share/licenses/$pkgname/atlas-license.txt"
}

View File

@ -1,29 +0,0 @@
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.

View File

@ -1,19 +0,0 @@
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.

View File

@ -1,20 +0,0 @@
--- SRC/Makefile.old 2011-02-08 17:39:23.966666767 +0100
+++ SRC/Makefile 2011-02-08 17:40:52.990000016 +0100
@@ -146,7 +146,7 @@
sgeequb.o ssyequb.o spoequb.o sgbequb.o \
sbbcsd.o slapmr.o sorbdb.o sorcsd.o
-DSLASRC = spotrs.o sgetrs.o spotrf.o sgetrf.o
+DSLASRC = spotrs.o sgetrs.o sgetrf.o
SXLASRC = sgesvxx.o sgerfsx.o sla_gerfsx_extended.o sla_geamv.o \
sla_gercond.o sla_rpvgrw.o ssysvxx.o ssyrfsx.o \
@@ -227,7 +227,7 @@
cla_hercond_c.o cla_hercond_x.o cla_herpvgrw.o \
cla_lin_berr.o clarscl2.o clascl2.o cla_wwaddw.o
-ZCLASRC = cpotrs.o cgetrs.o cpotrf.o cgetrf.o
+ZCLASRC =
DLASRC = \
dgbbrd.o dgbcon.o dgbequ.o dgbrfs.o dgbsv.o \

View File

@ -1,23 +0,0 @@
include Make.inc
all: libatlas.so libf77blas.so libcblas.so libblas.so liblapack.so.3.4.0
libatlas.so: libatlas.a
ld $(LDFLAGS) -shared -soname $@ -o $@ --whole-archive libatlas.a \
--no-whole-archive -lc $(LIBS)
libf77blas.so : libptf77blas.a libatlas.so
ld $(LDFLAGS) -shared -soname libblas.so.3 -o $@ --whole-archive \
libptf77blas.a --no-whole-archive $(F77SYSLIB) -L. -latlas
libcblas.so : libptcblas.a libatlas.so
ld $(LDFLAGS) -shared -soname libcblas.so -o $@ --whole-archive \
libptcblas.a -L. -latlas
libblas.so: libf77blas.so
ln -s $< $@
liblapack.so.3.4.0 : 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

View File

@ -1,23 +0,0 @@
include Make.inc
all: libatlas.so libf77blas.so libcblas.so libblas.so liblapack.so.3.4.0
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.3.4.0 : 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

View File

@ -1,13 +0,0 @@
--- CONFIG/src/backend/archinfo_x86.c.orig 2011-12-10 13:25:13.145469768 +0100
+++ CONFIG/src/backend/archinfo_x86.c 2011-12-10 13:26:23.358198406 +0100
@@ -309,9 +309,9 @@
case 0x1A:
case 0x1E:
case 0x1F:
+ case 0x25:
iret = IntCorei1;
break;
- case 0x25:
case 0x2A:
iret = IntCorei2;
break;