File tree Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Expand file tree Collapse file tree 1 file changed +2
-23
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ function build_libs {
17
17
build_hdf5
18
18
if [ -z " $IS_OSX " ]; then
19
19
build_curl
20
+ else
21
+ touch curl-stamp
20
22
fi
21
23
if [ -z " $IS_OSX " ] && [ $MB_ML_VER -eq 1 ]; then
22
24
export CFLAGS=" -std=gnu99 -Wl,-strip-all"
@@ -30,30 +32,7 @@ function pip_opts {
30
32
31
33
function run_tests {
32
34
# Runs tests on installed distribution from an empty directory
33
- URL=" http://remotetest.unidata.ucar.edu/thredds/dodsC/testdods/testData.nc"
34
- URL_https=" https://podaac-opendap.jpl.nasa.gov/opendap/allData/modis/L3/aqua/11um/v2014.0/4km/daily/2017/365/A2017365.L3m_DAY_NSST_sst_4km.nc"
35
- /usr/local/bin/ncdump -h $URL
36
- /usr/local/bin/ncdump -h $URL_https
37
35
cp ../netcdf4-python/test/* .
38
36
python run_all.py
39
37
}
40
38
41
-
42
- function build_curl {
43
- if [ -e curl-stamp ]; then return ; fi
44
- local flags=" --prefix=$BUILD_PREFIX "
45
- if [ -n " $IS_OSX " ]; then
46
- flags=" $flags --with-darwinssl"
47
- else # manylinux
48
- flags=" $flags --with-ssl"
49
- build_openssl
50
- fi
51
- fetch_unpack https://curl.haxx.se/download/curl-${CURL_VERSION} .tar.gz
52
- (cd curl-${CURL_VERSION} \
53
- && if [ -z " $IS_OSX " ]; then \
54
- LIBS=-ldl ./configure $flags ; else \
55
- env PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig ./configure $flags ; fi\
56
- && make -j4 \
57
- && make install)
58
- touch curl-stamp
59
- }
You can’t perform that action at this time.
0 commit comments