@ -0,0 +1,29 @@ |
|||
|
|||
atlas_custmain() { |
|||
mkdir objdir; cd objdir |
|||
bunzip2 < $archdir/lapack-3.2.1.tbz2 | gzip > $archdir/lapack-3.2.1.tgz |
|||
set -x |
|||
env -i PATH="${PATH//$CMD_WRAPPER_MYPATH:/}" ../configure \ |
|||
-b $((arch_sizeof_char_p*8)) -V 0 -Fa alg -fPIC -Si cputhrchk 0 -Si latune 0 \ |
|||
-A $enum_machtype -O $enum_ostype --incdir=/usr/include --libdir=/usr/lib \ |
|||
--dylibs --with-netlib-lapack-tarfile=$archdir/lapack-3.2.1.tgz |
|||
env -i PATH="${PATH//$CMD_WRAPPER_MYPATH:/}" make |
|||
cp lib/*.{so,a} $root/usr/lib/ |
|||
cp include/* $root/usr/include/ |
|||
set +x |
|||
} |
|||
|
|||
enum_machtype=0 # Unknown |
|||
enum_ostype=1 # Linux |
|||
|
|||
case "$arch_machine" in |
|||
i686) |
|||
enum_machtype=8;; # PPRO |
|||
i?86) |
|||
enum_machtype=6;; # P5 |
|||
x86_64) |
|||
enum_machtype=21;; # HAMMER |
|||
esac |
|||
|
|||
custmain="atlas_custmain" |
|||
|
|||
@ -0,0 +1,46 @@ |
|||
|
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- |
|||
[COPY] |
|||
[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|||
[COPY] Please add additional copyright information _after_ the line containing |
|||
[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by |
|||
[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! |
|||
[COPY] |
|||
[COPY] ROCK Linux: rock-src/package/public/atlas/atlas.desc |
|||
[COPY] ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf |
|||
[COPY] |
|||
[COPY] This program is free software; you can redistribute it and/or modify |
|||
[COPY] it under the terms of the GNU General Public License as published by |
|||
[COPY] the Free Software Foundation; either version 2 of the License, or |
|||
[COPY] (at your option) any later version. A copy of the GNU General Public |
|||
[COPY] License can be found at Documentation/COPYING. |
|||
[COPY] |
|||
[COPY] Many people helped and are helping developing ROCK Linux. Please |
|||
[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM |
|||
[COPY] file for details. |
|||
[COPY] |
|||
[COPY] --- ROCK-COPYRIGHT-NOTE-END --- |
|||
|
|||
[I] Automatically Tuned Linear Algebra Software (ATLAS) |
|||
|
|||
[T] The ATLAS (Automatically Tuned Linear Algebra Software) project is an ongoing |
|||
[T] research effort focusing on applying empirical techniques in order to provide |
|||
[T] portable performance. At present, it provides C and Fortran77 interfaces to a |
|||
[T] portably efficient BLAS implementation, as well as a few routines from LAPACK. |
|||
|
|||
[U] http://math-atlas.sourceforge.net/ |
|||
|
|||
[A] R. Clint Whaley |
|||
[M] Clifford Wolf <clifford@clifford.at> |
|||
|
|||
[C] extra/scientific |
|||
|
|||
[L] BSD |
|||
[S] Stable |
|||
|
|||
[P] X ----4----9 200.124 |
|||
|
|||
[V] 3.9.14 |
|||
[D] 2994705938 atlas3.9.14.tar.bz2 http://dfn.dl.sourceforge.net/project/math-atlas/Developer%20%28unstable%29/3.9.14/ |
|||
[D] 4034067409 lapack-3.2.1.tgz http://www.netlib.org/lapack/ |
|||
|
|||
@ -0,0 +1,81 @@ |
|||
--- ./makes/Make.lib.orig 2009-09-27 10:29:59.000000000 +0200
|
|||
+++ ./makes/Make.lib 2009-09-27 10:30:31.000000000 +0200
|
|||
@@ -50,31 +50,31 @@
|
|||
$(MAKE) libatlas.so libclapack.so libcblas.so |
|||
|
|||
libatlas.so : libatlas.a |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libatlas.so -o libatlas.so \
|
|||
+ ld $(LDFLAGS) -shared -soname libatlas.so -o libatlas.so \
|
|||
-rpath-link $(LIBINSTdir) \ |
|||
--whole-archive libatlas.a --no-whole-archive -lc $(LIBS) |
|||
liblapack.so : liblapack.a |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/liblapack.so \
|
|||
+ ld $(LDFLAGS) -shared -soname liblapack.so \
|
|||
-o liblapack.so -rpath-link $(LIBINSTdir) --whole-archive \ |
|||
liblapack.a --no-whole-archive $(F77SYSLIB) |
|||
libclapack.so : libclapack.a |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libclapack.so \
|
|||
+ ld $(LDFLAGS) -shared -soname libclapack.so \
|
|||
-o libclapack.so -rpath-link $(LIBINSTdir) \ |
|||
--whole-archive libclapack.a --no-whole-archive -lc $(LIBS) |
|||
libptf77blas.so : libptf77blas.a |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libptf77blas.so \
|
|||
+ ld $(LDFLAGS) -shared -soname libptf77blas.so \
|
|||
-o libptf77blas.so -rpath-link $(LIBINSTdir) \ |
|||
--whole-archive libptf77blas.a --no-whole-archive $(F77SYSLIB) |
|||
libf77blas.so : libf77blas.a |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libf77blas.so \
|
|||
+ ld $(LDFLAGS) -shared -soname libf77blas.so \
|
|||
-o libf77blas.so -rpath-link $(LIBINSTdir) \ |
|||
--whole-archive libf77blas.a --no-whole-archive $(F77SYSLIB) |
|||
libptcblas.so : libptcblas.a |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libptcblas.so \
|
|||
+ ld $(LDFLAGS) -shared -soname libptcblas.so \
|
|||
-o libptcblas.so -rpath-link $(LIBINSTdir) \ |
|||
--whole-archive libptcblas.a --no-whole-archive -lc $(LIBS) |
|||
libcblas.so : libcblas.a |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libcblas.so \
|
|||
+ ld $(LDFLAGS) -shared -soname libcblas.so \
|
|||
-o libcblas.so -rpath-link $(LIBINSTdir) \ |
|||
--whole-archive libcblas.a --no-whole-archive -lc $(LIBS) |
|||
|
|||
@@ -118,32 +118,32 @@
|
|||
ptcdlls: libatlas.dll libptcblas.dll libclapack.dll |
|||
|
|||
libatlas.dll : libatlas.a |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libatlas.dll \
|
|||
+ ld $(LDFLAGS) -shared -soname libatlas.dll \
|
|||
-o libatlas.dll -rpath-link $(LIBINSTdir) \ |
|||
--whole-archive libatlas.a --no-whole-archive -lc $(LIBS) |
|||
libcblas.dll : libcblas.a libatlas.dll |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libcblas.dll \
|
|||
+ ld $(LDFLAGS) -shared -soname libcblas.dll \
|
|||
-o libcblas.dll -rpath-link $(LIBINSTdir) \ |
|||
--whole-archive libcblas.a --no-whole-archive libatlas.dll -lc $(LIBS) |
|||
libf77blas.dll : libf77blas.a libatlas.dll |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libf77blas.dll \
|
|||
+ ld $(LDFLAGS) -shared -soname libf77blas.dll \
|
|||
-o libf77blas.dll -rpath-link $(LIBINSTdir) --whole-archive \ |
|||
libf77blas.a --no-whole-archive libatlas.dll $(F77SYSLIB) -lc $(LIBS) |
|||
libptcblas.dll : libptcblas.a libatlas.dll |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libptcblas.dll \
|
|||
+ ld $(LDFLAGS) -shared -soname libptcblas.dll \
|
|||
-o libptcblas.dll -rpath-link $(LIBINSTdir) --whole-archive \ |
|||
libptcblas.a --no-whole-archive libatlas.dll -lc $(LIBS) |
|||
libptf77blas.dll : libptf77blas.a libatlas.dll |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libptf77blas.dll \
|
|||
+ ld $(LDFLAGS) -shared -soname libptf77blas.dll \
|
|||
-o libptf77blas.dll -rpath-link $(LIBINSTdir) --whole-archive \ |
|||
libptf77blas.a --no-whole-archive libatlas.a $(F77SYSLIB) -lc $(LIBS) |
|||
liblapack.dll : liblapack.a libatlas.dll libf77blas.dll libcblas.dll |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/liblapack.dll \
|
|||
+ ld $(LDFLAGS) -shared -soname liblapack.dll \
|
|||
-o liblapack.dll -rpath-link $(LIBINSTdir) --whole-archive \ |
|||
liblapack.a --no-whole-archive libf77blas.dll libcblas.dll \ |
|||
libatlas.dll $(F77SYSLIB) -lc $(LIBS) |
|||
libclapack.dll : libclapack.a libatlas.dll libcblas.dll |
|||
- ld $(LDFLAGS) -shared -soname $(LIBINSTdir)/libclapack.dll \
|
|||
+ ld $(LDFLAGS) -shared -soname libclapack.dll \
|
|||
-o libclapack.dll -rpath-link $(LIBINSTdir) --whole-archive \ |
|||
libclapack.a --no-whole-archive libcblas.dll libatlas.dll -lc $(LIBS) |
|||
|
|||