Last active
November 9, 2015 18:14
-
-
Save matthew-brett/dea23a87ebd73bc8f775 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 build on 64-bit Windows | |
# | |
# 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="-64-full-sse2" | |
config_opts="-b 64 -V 384 \ # SSE2 for 3.10.1 | |
--with-netlib-lapack-tarfile=${lapack_tarfile} \ | |
-Fa al '-mfpmath=sse -msse3'" | |
# 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}/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