Skip to content

Commit a78c157

Browse files
author
Jeff Whitaker
committed
retry
1 parent 673d34c commit a78c157

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

config.sh

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ export HDF5_VERSION="1.12.0"
1010
# old openssl, since building new version requires perl 5.10.0
1111
export OPENSSL_ROOT=openssl-1.0.2u
1212
export OPENSSL_HASH=ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
13-
export CURL_VERSION="7.71.1"
13+
export CURL_VERSION="7.75.0"
14+
export LIBNGHTTP2_VERSION="1.43.0"
1415

1516
source h5py-wheels/config.sh
1617

@@ -37,8 +38,9 @@ function build_curl {
3738
# flags="$flags --with-ssl"
3839
# build_openssl
3940
#fi
40-
flags="$flags --with-ssl --without-libnghttp2 --without-brotli"
41+
flags="$flags --with-ssl --without-brotli --without--libnghttp2"
4142
build_openssl
43+
#build_libnghttp2
4244
fetch_unpack https://curl.haxx.se/download/curl-${CURL_VERSION}.tar.gz
4345
(cd curl-${CURL_VERSION} \
4446
&& if [ -z "$IS_MACOS" ]; then \
@@ -49,8 +51,14 @@ function build_curl {
4951
touch curl-stamp
5052
}
5153

52-
function pip_opts {
53-
echo "--find-links https://3f23b170c54c2533c070-1c8a9b3114517dc5fe17b7c3f8c63a43.ssl.cf2.rackcdn.com"
54+
function build_libnghttp2 {
55+
if [ -e libnghttp2-stamp ]; then return; fi
56+
fetch_unpack https://github.com/nghttp2/nghttp2/releases/download/v${LIBNGHTTP2_VERSION}/nghttp2-{LIBNGHTTP2_VERSION}.tar.gz
57+
(cd nghttp2-${LIBNGHTTP2_VERSIONN} \
58+
&& ./configure --prefix=$BUILD_PREFIX --enable-shared \
59+
&& make \
60+
&& make install)
61+
touch libnghttp2-stamp
5462
}
5563

5664
function run_tests {

0 commit comments

Comments
 (0)