source: issm/oecreview/Archive/19101-20495/ISSM-20111-20112.diff@ 20498

Last change on this file since 20498 was 20498, checked in by Mathieu Morlighem, 9 years ago

CHG: done with Archive/19101-20495

File size: 1.1 KB
  • TabularUnified ../trunk-jpl/externalpackages/numpy/install-macosx-snowleopard.sh

     
    33
    44rm -rf install
    55
    6 # On OSX 10.6, gfortran gets installed in /usr/local/gfortran
    7 #export CC="/usr/local/gfortran/bin/gcc"
    8 #export CXX="/usr/local/gfortran/bin/g++"
     6export F77="/usr/local/gfortran/bin/x86_64-apple-darwin10-gfortran"
     7export CC="/usr/bin/gcc"
     8export CXX="/usr/bin/g++"
     9export FFLAGS=-ff2c
    910
     11#clean up
     12rm -rf numpy
     13rm -rf numpy-1.7.0b2
     14
    1015#download numpy first
    11 git clone https://github.com/numpy/numpy.git
     16#export GIT_SSL_NO_VERIFY=true
     17#git clone https://github.com/numpy/numpy.git
     18$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/numpy-1.7.0b2.tar.gz' 'numpy-1.7.0b2.tar.gz'
    1219
    1320#install numpy
    14 cd numpy
     21tar -zxvf numpy-1.7.0b2.tar.gz
     22cd numpy-1.7.0b2
    1523python setup.py build
    1624python setup.py install
    1725cd ..
Note: See TracBrowser for help on using the repository browser.