Last change
on this file was 24050, checked in by seroussi, 6 years ago |
FIX: nco doc does not compile, configure without documentation
|
-
Property svn:executable
set to
*
|
File size:
339 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | set -eu
|
---|
3 | #you need hdf5 compiled
|
---|
4 |
|
---|
5 | #Some cleanup
|
---|
6 | rm -rf install
|
---|
7 | mkdir install
|
---|
8 |
|
---|
9 | git clone https://github.com/nco/nco.git install
|
---|
10 | cd install
|
---|
11 | git checkout 4.7.9
|
---|
12 |
|
---|
13 | #Configure and compile
|
---|
14 | ./configure \
|
---|
15 | --disable-doc \
|
---|
16 | --prefix="$ISSM_DIR/externalpackages/nco/install"
|
---|
17 |
|
---|
18 | if [ $# -eq 0 ]; then
|
---|
19 | make
|
---|
20 | else
|
---|
21 | make -j $1
|
---|
22 | fi
|
---|
23 | make install
|
---|
Note:
See
TracBrowser
for help on using the repository browser.