Skip to content

Commit 78ff854

Browse files
author
Jeff Whitaker
committed
print old and new perl versions
1 parent 2a44811 commit 78ff854

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

config.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export NO_NET=1
77
export MACOSX_DEPLOYMENT_TARGET="10.9"
88
export NETCDF_VERSION="4.7.4"
99
export HDF5_VERSION="1.12.0"
10+
export PERL_VERSION"5.16.0"
1011

1112
source h5py-wheels/config.sh
1213

@@ -37,11 +38,13 @@ function build_curl2 {
3738
else # manylinux
3839
flags="$flags --with-ssl"
3940
# Install new Perl because OpenSSL configure scripts require > 5.10.0.
41+
echo "Old Perl version `perl -v`"
4042
curl -L https://install.perlbrew.pl | bash
4143
export PERLBREW_ROOT=/root/perl5/perlbrew
4244
source ${PERLBREW_ROOT}/etc/bashrc
43-
perlbrew install perl-5.16.0
44-
perlbrew use perl-5.16.0
45+
perlbrew install perl-${PERL_VERSION}
46+
perlbrew use perl-${PERL_VERSION}
47+
echo "New Perl version `perl -v`"
4548
build_openssl
4649
fi
4750
fetch_unpack https://curl.haxx.se/download/curl-${CURL_VERSION}.tar.gz

0 commit comments

Comments
 (0)