Last active
August 29, 2015 14:03
-
-
Save matthew-brett/b34ffe40b52351ec9f9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# An install file for ATLAS SSE2-only 32-bit build | |
# | |
# Must be unix line endings | |
# In vim - set ff=unix | |
# Turn off CPU throttling | |
# Control panel, Hardware and sound, Power options, Select a power plan, Show | |
# additional plans, High perfornamce | |
win_home="/cygdrive/c/Users/mb312" | |
downloads="${win_home}/Downloads" | |
code_home="/cygdrive/c/code" | |
lapack_tarfile="${win_home}/Downloads/lapack-3.5.0.tgz" | |
atlas_ver="3.10.1" | |
build_suff="-32-full-sse2-full" | |
config_opts="-b 32 -Si archdef 0 -A 13 -V 384 \ # SSE2 for 3.10.1 | |
--with-netlib-lapack-tarfile=${lapack_tarfile} \ | |
-Fa al '-mincoming-stack-boundary=2 -mfpmath=sse -msse2'" | |
# usually don't need to change these guys | |
atlas_home="${code_home}/atlas" | |
atlas_sdir=atlas-${atlas_ver} | |
atlas_src=$atlas_home/$atlas_sdir | |
atlas_build="$atlas_home/atlas-${atlas_ver}-build${build_suff}" | |
atlas_tar="${downloads}s/atlas${atlas_ver}.tar.bz2" | |
# doit | |
rm -rf $atlas_src | |
rm -rf $atlas_build | |
mkdir -p $atlas_build | |
# Copy this file into the build directory | |
if [[ -e "$0"]]; then | |
cp $0 $atlas_build | |
fi | |
cd $atlas_home | |
tar jxvf "$atlas_tar" | |
mv ATLAS ${atlas_src} | |
cd $atlas_build | |
${atlas_src}/configure ${config_opts} | |
make build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment