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"
1010# old openssl, since building new version requires perl 5.10.0
1111export OPENSSL_ROOT=openssl-1.0.2u
1212export OPENSSL_HASH=ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
13- # export CURL_VERSION="7.75.0 "
13+ export CURL_VERSION=" 7.71.1 "
1414
1515source h5py-wheels/config.sh
1616
@@ -28,6 +28,27 @@ function build_libs {
2828 build_netcdf
2929}
3030
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+
3152function pip_opts {
3253 echo " --find-links https://3f23b170c54c2533c070-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com"
3354}
You can’t perform that action at this time.
0 commit comments