File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export HDF5_VERSION="1.12.0"
10
10
# old openssl, since building new version requires perl 5.10.0
11
11
export OPENSSL_ROOT=openssl-1.0.2u
12
12
export OPENSSL_HASH=ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
13
- # export CURL_VERSION="7.75.0 "
13
+ export CURL_VERSION=" 7.71.1 "
14
14
15
15
source h5py-wheels/config.sh
16
16
@@ -28,6 +28,27 @@ function build_libs {
28
28
build_netcdf
29
29
}
30
30
31
+ function build_curl {
32
+ if [ -e curl-stamp ]; then return ; fi
33
+ local flags=" --prefix=$BUILD_PREFIX "
34
+ # if [ -n "$IS_MACOS" ]; then
35
+ # flags="$flags --with-darwinssl"
36
+ # else # manylinux
37
+ # flags="$flags --with-ssl"
38
+ # build_openssl
39
+ # fi
40
+ flags=" $flags --with-ssl"
41
+ build_openssl
42
+ fetch_unpack https://curl.haxx.se/download/curl-${CURL_VERSION} .tar.gz
43
+ (cd curl-${CURL_VERSION} \
44
+ && if [ -z " $IS_MACOS " ]; then \
45
+ LIBS=-ldl ./configure $flags ; else \
46
+ ./configure $flags ; fi\
47
+ && make -j4 \
48
+ && make install)
49
+ touch curl-stamp
50
+ }
51
+
31
52
function pip_opts {
32
53
echo " --find-links https://3f23b170c54c2533c070-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com"
33
54
}
You can’t perform that action at this time.
0 commit comments