Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit 3b44ca2

Browse files
authored
Merge pull request #147 from rillian/python-2.7.13
Python 2.7.13.
2 parents b290fdb + 17c401f commit 3b44ca2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

slaves/dist/build_python.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
set -ex
44

5-
VERSION=2.7.12
6-
SHA256=3cb522d17463dfa69a155ab18cffa399b358c966c0363d6c8b5b3bf1384da4b6
5+
VERSION=2.7.13
6+
SHA256=35d543986882f78261f97787fd3e06274bfa6df29fac9b4a94f73930ff98f731
77

88
yum install -y bzip2-devel
9-
curl https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tgz | \
10-
tee >(sha256sum > Python-$VERSION.tgz.sha256) | tar xzf -
11-
test $SHA256 = $(cut -d ' ' -f 1 Python-$VERSION.tgz.sha256) || exit 1
9+
curl https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tar.xz | \
10+
tee >(sha256sum > Python-$VERSION.tar.xz.sha256) | tar xJf -
11+
test $SHA256 = $(cut -d ' ' -f 1 Python-$VERSION.tar.xz.sha256) || exit 1
1212

1313
mkdir python-build
1414
cd python-build
1515

16-
# Gotta do some hackery to tell python about our custom OpenSSL build, but other
17-
# than that fairly normal.
16+
# Gotta do some hackery to tell python about our custom OpenSSL build,
17+
# but other than that fairly normal.
1818
CFLAGS='-I /rustroot/include' LDFLAGS='-L /rustroot/lib -L /rustroot/lib64' \
1919
../Python-$VERSION/configure --prefix=/rustroot
2020
make -j10

0 commit comments

Comments
 (0)