#!/bin/bash mkdir -p BUILD cd BUILD # This is likely to blow up if there is more than one lapack tgz in ../lapack, but that's sort of normal :-S, just in # a different way case "$(uname -m)" in i686) bits=32 ;; x86_64) bits=64 ;; *) echo 'Unrecognized processor - is this 32 bit or 64 bit?' exit 1 ;; esac #../configure -b "$bits" -Fa alg -fPIC --with-netlib-lapack-tarfile=../lapack/lapack-*.tgz --prefix=/usr/local/c"$which_python" ../configure -b "$bits" -Fa alg -fPIC --prefix=/usr/local/c"$which_python" # Note that this "make" command will take several hours to run, as ATLAS # optimizes various performance parameters. make cd lib make shared # Note that make ptshared might not work on a single core machine. Note make ptshared