This repository was archived by the owner on Mar 15, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Expand file tree Collapse file tree 4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 44set -ex
55
66TAG=pypywheels/manylinux2010-pypy_x86_64
7- docker/build_scripts_pypy/prefetch_pypy.sh
87docker build --rm -t $TAG :latest -f docker/Dockerfile-x86_64 docker/
Original file line number Diff line number Diff line change 11FROM quay.io/pypa/manylinux2010_x86_64
22LABEL maintainer="Antonio Cuni"
33
4- COPY sources /
54COPY build_scripts /build_scripts
65COPY build_scripts_pypy /build_scripts_pypy
7- RUN bash build_scripts_pypy/install_pypy.sh && rm -rf build_scripts*
6+ RUN : \
7+ && build_scripts_pypy/prefetch_pypy.sh \
8+ && build_scripts_pypy/install_pypy.sh \
9+ && rm -rf /sources /build_scripts*
810
911CMD ["/bin/bash"]
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ function install_one_pypy {
4747 ln -s /opt/pypy/$shortdir /opt/python/${abi_tag}
4848}
4949
50- for TARBALL in /pypy* .tar.bz2
50+ for TARBALL in /sources/ pypy* .tar.bz2
5151do
5252 install_one_pypy " $TARBALL "
5353 rm " $TARBALL "
Original file line number Diff line number Diff line change 22
33set -ex
44
5- SOURCES=docker /sources
5+ SOURCES=/sources
66SQUEAKY_GITHUB_URL=https://github.com/squeaky-pl/portable-pypy/releases/download # old releases
77URL=https://downloads.python.org/pypy # new releases
88
99
1010MY_DIR=$( dirname " ${BASH_SOURCE[0]} " )
1111. $MY_DIR /../build_scripts/build_utils.sh
1212
13- [ -d " $SOURCES " ] || mkdir " $SOURCES "
13+ mkdir -p " $SOURCES "
1414cd " $SOURCES "
1515
1616# pypy 7.2.0
You can’t perform that action at this time.
0 commit comments