File tree Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Expand file tree Collapse file tree 1 file changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -36,37 +36,37 @@ function build_curl2 {
36
36
touch curl-stamp
37
37
}
38
38
39
- function build_libs {
40
- build_hdf5
41
- build_curl2
42
- if [ -z " $IS_OSX " ] && [ $MB_ML_VER -eq 1 ]; then
43
- export CFLAGS=" -std=gnu99 -Wl,-strip-all"
44
- fi
45
- build_netcdf
46
- }
47
-
48
39
function build_netcdf {
49
40
if [ -e netcdf-stamp ]; then return ; fi
50
41
build_hdf5
51
42
build_curl
52
43
if [ $NETCDF_VERSION == " MASTER" ]; then
53
- git clone https://github.com/Unidata/netcdf-c
54
- cd netcdf-c
55
- autoreconf -i
56
- ./configure --prefix=$BUILD_PREFIX --enable-dap \
57
- make -j4
58
- make install
59
- cd ..
44
+ git clone https://github.com/Unidata/netcdf-c
45
+ cd netcdf-c
46
+ autoreconf -i
47
+ ./configure --prefix=$BUILD_PREFIX --enable-dap \
48
+ make -j4
49
+ make install
50
+ cd ..
60
51
else
61
- fetch_unpack https://github.com/Unidata/netcdf-c/archive/v${NETCDF_VERSION} .tar.gz
62
- (cd netcdf-c-${NETCDF_VERSION} \
63
- && ./configure --prefix=$BUILD_PREFIX --enable-dap \
64
- && make -j4 \
65
- && make install)
52
+ fetch_unpack https://github.com/Unidata/netcdf-c/archive/v${NETCDF_VERSION} .tar.gz
53
+ (cd netcdf-c-${NETCDF_VERSION} \
54
+ && ./configure --prefix=$BUILD_PREFIX --enable-dap \
55
+ && make -j4 \
56
+ && make install)
66
57
fi
67
58
touch netcdf-stamp
68
59
}
69
60
61
+ function build_libs {
62
+ build_hdf5
63
+ build_curl2
64
+ if [ -z " $IS_OSX " ] && [ $MB_ML_VER -eq 1 ]; then
65
+ export CFLAGS=" -std=gnu99 -Wl,-strip-all"
66
+ fi
67
+ build_netcdf
68
+ }
69
+
70
70
function run_tests {
71
71
# Runs tests on installed distribution from an empty directory
72
72
pwd
You can’t perform that action at this time.
0 commit comments