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

Python 2.7.13. #147

Merged
merged 1 commit into from
Jan 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions slaves/dist/build_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

set -ex

VERSION=2.7.12
SHA256=3cb522d17463dfa69a155ab18cffa399b358c966c0363d6c8b5b3bf1384da4b6
VERSION=2.7.13
SHA256=35d543986882f78261f97787fd3e06274bfa6df29fac9b4a94f73930ff98f731

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

mkdir python-build
cd python-build

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