Changeset 1512
- Timestamp:
- 08/03/09 14:43:38 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/externalpackages/gdal/install.sh
r22 r1512 1 1 #!/bin/bash 2 2 3 #Get number of cpus on current platform4 NUMCPUS= `grep -c processor /proc/cpuinfo`;3 #Get number of cpus 4 NUMCPUS=$1; 5 5 6 6 #version of gdal … … 29 29 patch -R GDALmake.opt ../GDALmake.opt.patch 30 30 31 #Compile gdal 32 make -j $NUMCPUS 33 34 #Install gdal 35 make install 31 #Compile and install gdal 32 if [ -z $NUMCPUS ]; 33 then 34 make 35 make install 36 else 37 make -j $NUMCPUS 38 make -j $NUMCPUS install 39 fi
Note:
See TracChangeset
for help on using the changeset viewer.