This repository was archived by the owner on Nov 21, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
- VERSION=2.7.12
6
- SHA256=3cb522d17463dfa69a155ab18cffa399b358c966c0363d6c8b5b3bf1384da4b6
5
+ VERSION=2.7.13
6
+ SHA256=35d543986882f78261f97787fd3e06274bfa6df29fac9b4a94f73930ff98f731
7
7
8
8
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
12
12
13
13
mkdir python-build
14
14
cd python-build
15
15
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.
18
18
CFLAGS=' -I /rustroot/include' LDFLAGS=' -L /rustroot/lib -L /rustroot/lib64' \
19
19
../Python-$VERSION /configure --prefix=/rustroot
20
20
make -j10
You can’t perform that action at this time.
0 commit comments