File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export OPENSSL_ROOT=openssl-1.0.2u
12
12
export OPENSSL_HASH=ecd0c6ffb493dd06707d38b14bb4d8c2288bb7033735606569d8f90f89669d16
13
13
export CURL_VERSION=" 7.75.0"
14
14
export LIBNGHTTP2_VERSION=" 1.43.0"
15
+ export BROTLI_VERSION=" 1.0.9"
15
16
16
17
source h5py-wheels/config.sh
17
18
@@ -40,7 +41,8 @@ function build_curl {
40
41
# fi
41
42
flags=" $flags --with-ssl --without-brotli --without--libnghttp2"
42
43
build_openssl
43
- # build_libnghttp2
44
+ build_libnghttp2
45
+ build_brotli
44
46
fetch_unpack https://curl.haxx.se/download/curl-${CURL_VERSION} .tar.gz
45
47
(cd curl-${CURL_VERSION} \
46
48
&& if [ -z " $IS_MACOS " ]; then \
@@ -61,6 +63,16 @@ function build_libnghttp2 {
61
63
touch libnghttp2-stamp
62
64
}
63
65
66
+ function build_brotli {
67
+ if [ -e brotli-stamp ]; then return ; fi
68
+ fetch_unpack https://github.com/google/brotli/archive/v${BROTLI_VERSION} /v${BROTLI_VERSION} .tar.gz
69
+ (cd brotli-${BROTLI_VERSIONN} \
70
+ && ./configure-cmake --prefix=$BUILD_PREFIX --enable-shared \
71
+ && make \
72
+ && make install)
73
+ touch brotli-stamp
74
+ }
75
+
64
76
function run_tests {
65
77
# Runs tests on installed distribution from an empty directory
66
78
cp ../netcdf4-python/test/* .
You can’t perform that action at this time.
0 commit comments