Skip to content

Commit 8de521c

Browse files
committed
Use python3 instead
1 parent b05f659 commit 8de521c

File tree

7 files changed

+15
-7
lines changed

7 files changed

+15
-7
lines changed

ci/android-install-ndk.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ case "$1" in
3333
;;
3434
esac;
3535

36-
${NDK}/build/tools/make_standalone_toolchain.py \
36+
python3 ${NDK}/build/tools/make_standalone_toolchain.py \
3737
--install-dir "/android/ndk-${1}" \
3838
--arch "${arch}" \
3939
--api ${api}

ci/docker/aarch64-linux-android/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ RUN dpkg --add-architecture i386 && \
66
file \
77
curl \
88
ca-certificates \
9-
python \
9+
python3 \
10+
python3-distutils \
1011
unzip \
1112
expect \
1213
openjdk-8-jre \

ci/docker/arm-linux-androideabi/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ RUN dpkg --add-architecture i386 && \
66
file \
77
curl \
88
ca-certificates \
9-
python \
9+
python3 \
10+
python3-distutils \
1011
unzip \
1112
expect \
1213
openjdk-8-jre \

ci/docker/asmjs-unknown-emscripten/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ RUN apt-get update && \
88
git \
99
libc6-dev \
1010
libxml2 \
11-
python \
11+
python3 \
12+
python3-distutils \
1213
xz-utils
1314

1415
COPY emscripten.sh /

ci/docker/i686-linux-android/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ RUN dpkg --add-architecture i386 && \
66
file \
77
curl \
88
ca-certificates \
9-
python \
9+
python3 \
10+
python3-distutils \
1011
unzip \
1112
expect \
1213
openjdk-8-jre \

ci/docker/wasm32-unknown-emscripten/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,15 @@ RUN apt-get update && \
1111
git \
1212
libc6-dev \
1313
libxml2 \
14-
python \
14+
python3 \
15+
python3-distutils \
1516
cmake \
1617
sudo \
1718
gdb \
1819
xz-utils
1920

21+
RUN ln -s /usr/bin/python3 /usr/bin/python & \
22+
ln -s /usr/bin/pip3 /usr/bin/pip
2023
COPY emscripten.sh /
2124
RUN bash /emscripten.sh
2225

ci/docker/x86_64-linux-android/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ RUN apt-get update && \
66
curl \
77
gcc \
88
libc-dev \
9-
python \
9+
python3 \
10+
python3-distutils \
1011
unzip
1112

1213
WORKDIR /android/

0 commit comments

Comments
 (0)