|
Last change
on this file since 11101 was 11101, checked in by Mathieu Morlighem, 14 years ago |
|
Changing the way externalpackages are installed: one script per version and per platform if necessary. The goal is to make the installation process more userfriendly
|
|
File size:
355 bytes
|
| Rev | Line | |
|---|
| [1] | 1 | #!/bin/bash
|
|---|
| 2 |
|
|---|
| 3 | #Some cleanup
|
|---|
| [11101] | 4 | rm -rf install netcdf-4.0.1
|
|---|
| [1] | 5 | mkdir install
|
|---|
| 6 |
|
|---|
| 7 | #Untar
|
|---|
| [11101] | 8 | tar -zxvf netcdf-4.0.1.tar.gz
|
|---|
| [1] | 9 |
|
|---|
| 10 | #Move netcdf to install directory
|
|---|
| 11 | rm -rf install/*
|
|---|
| [11101] | 12 | mv netcdf-4.0.1/* install/
|
|---|
| 13 | rm -rf netcdf-4.0.1
|
|---|
| [1] | 14 |
|
|---|
| [11101] | 15 | #Configure and compile
|
|---|
| [1] | 16 | cd install
|
|---|
| [6081] | 17 | ./configure --prefix="$ISSM_TIER/externalpackages/netcdf/install"
|
|---|
| [11101] | 18 | make -j $NUMCPUS
|
|---|
| 19 | make -j $NUMCPUS install
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.