We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18b07df commit ebcc291Copy full SHA for ebcc291
config.sh
@@ -31,3 +31,24 @@ function run_tests {
31
cp ../netcdf4-python/test/* .
32
python run_all.py
33
}
34
+
35
36
+function build_curl {
37
+ if [ -e curl-stamp ]; then return; fi
38
+ local flags="--prefix=$BUILD_PREFIX"
39
+ if [ -n "$IS_OSX" ]; then
40
+ flags="$flags --with-darwinssl"
41
+ else # manylinux
42
+ flags="$flags --with-ssl"
43
+ build_openssl
44
+ fi
45
+ fetch_unpack https://curl.haxx.se/download/curl-${CURL_VERSION}.tar.gz
46
+ export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig
47
+ (cd curl-${CURL_VERSION} \
48
+ && if [ -z "$IS_OSX" ]; then \
49
+ LIBS=-ldl ./configure $flags; else \
50
+ ./configure $flags; fi\
51
+ && make -j4 \
52
+ && make install)
53
+ touch curl-stamp
54
+}
0 commit comments