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
RevLine 
[20498]1Index: ../trunk-jpl/externalpackages/numpy/install-macosx-snowleopard.sh
2===================================================================
3--- ../trunk-jpl/externalpackages/numpy/install-macosx-snowleopard.sh (revision 20111)
4+++ ../trunk-jpl/externalpackages/numpy/install-macosx-snowleopard.sh (revision 20112)
5@@ -3,15 +3,23 @@
6
7 rm -rf install
8
9-# On OSX 10.6, gfortran gets installed in /usr/local/gfortran
10-#export CC="/usr/local/gfortran/bin/gcc"
11-#export CXX="/usr/local/gfortran/bin/g++"
12+export F77="/usr/local/gfortran/bin/x86_64-apple-darwin10-gfortran"
13+export CC="/usr/bin/gcc"
14+export CXX="/usr/bin/g++"
15+export FFLAGS=-ff2c
16
17+#clean up
18+rm -rf numpy
19+rm -rf numpy-1.7.0b2
20+
21 #download numpy first
22-git clone https://github.com/numpy/numpy.git
23+#export GIT_SSL_NO_VERIFY=true
24+#git clone https://github.com/numpy/numpy.git
25+$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/numpy-1.7.0b2.tar.gz' 'numpy-1.7.0b2.tar.gz'
26
27 #install numpy
28-cd numpy
29+tar -zxvf numpy-1.7.0b2.tar.gz
30+cd numpy-1.7.0b2
31 python setup.py build
32 python setup.py install
33 cd ..
Note: See TracBrowser for help on using the repository browser.