#!/bin/sh # Built on TCL v1.4 # Required extensions: # compiletc # gfortran # libgmp # libmpfr # advcomp # cramfs-utils tar -zxf atlas3.8.3.tar.gz cd ATLAS mkdir atlas-build cd atlas-build ../configure --cflags='-march=i486 -mtune=i686 -Os -pipe' --prefix=/usr/local --incdir=/usr/local/include --libdir=/usr/local/lib make touch ../../mark sudo make install ATLASDIR=`pwd` cd /usr/local/lib sudo ln -s libcblas.a libblas.a sudo ln -s liblapack.a liblapack_atlas.a cd $ATLASDIR cd ../.. find /usr/local -newer mark -not -type d > filelist tar -czf libatlas.tcel -T filelist advdef -z4 libatlas.tcel md5sum libatlas.tcel > libatlas.tcel.md5.txt TCZDIR=`mktemp -d tcz.XXXXXX` cd $TCZDIR tar zxf ../libatlas.tcel cd .. mkfs.cramfs $TCZDIR libatlas.tczl md5sum libatlas.tczl > libatlas.tczl.md5.txt rm -rf $TCZDIR ATLAS mark filelist