Index: ../trunk-jpl/externalpackages/numpy/install-macosx-snowleopard.sh =================================================================== --- ../trunk-jpl/externalpackages/numpy/install-macosx-snowleopard.sh (revision 20111) +++ ../trunk-jpl/externalpackages/numpy/install-macosx-snowleopard.sh (revision 20112) @@ -3,15 +3,23 @@ rm -rf install -# On OSX 10.6, gfortran gets installed in /usr/local/gfortran -#export CC="/usr/local/gfortran/bin/gcc" -#export CXX="/usr/local/gfortran/bin/g++" +export F77="/usr/local/gfortran/bin/x86_64-apple-darwin10-gfortran" +export CC="/usr/bin/gcc" +export CXX="/usr/bin/g++" +export FFLAGS=-ff2c +#clean up +rm -rf numpy +rm -rf numpy-1.7.0b2 + #download numpy first -git clone https://github.com/numpy/numpy.git +#export GIT_SSL_NO_VERIFY=true +#git clone https://github.com/numpy/numpy.git +$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/numpy-1.7.0b2.tar.gz' 'numpy-1.7.0b2.tar.gz' #install numpy -cd numpy +tar -zxvf numpy-1.7.0b2.tar.gz +cd numpy-1.7.0b2 python setup.py build python setup.py install cd ..