Skip to content

Commit 790411f

Browse files
authored
Update the Android Docker files to Ubuntu 22.04 (rust-lang#1338)
1 parent 586801d commit 790411f

File tree

6 files changed

+14
-18
lines changed

6 files changed

+14
-18
lines changed

ci/android-install-sdk.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ set -ex
1919
# which apparently magically accepts the licenses.
2020

2121
mkdir sdk
22-
curl --retry 5 https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip -O
23-
unzip -d sdk sdk-tools-linux-3859397.zip
22+
curl --retry 5 https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip -O
23+
unzip -d sdk sdk-tools-linux-4333796.zip
2424

2525
case "$1" in
2626
arm | armv7)

ci/docker/aarch64-linux-android/Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:22.04
22

3-
RUN dpkg --add-architecture i386 && \
4-
apt-get update && \
3+
RUN apt-get update && \
54
apt-get install -y --no-install-recommends \
65
file \
76
make \
87
curl \
98
ca-certificates \
10-
python \
9+
python-is-python3 \
1110
unzip \
1211
expect \
13-
openjdk-9-jre \
14-
libstdc++6:i386 \
12+
openjdk-8-jre \
13+
libstdc++6-i386-cross \
1514
libpulse0 \
1615
gcc \
1716
libc6-dev

ci/docker/arm-linux-androideabi/Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:22.04
22

3-
RUN dpkg --add-architecture i386 && \
4-
apt-get update && \
3+
RUN apt-get update && \
54
apt-get install -y --no-install-recommends \
65
file \
76
make \
87
curl \
98
ca-certificates \
10-
python \
9+
python-is-python3 \
1110
unzip \
1211
expect \
13-
openjdk-9-jre \
14-
libstdc++6:i386 \
12+
openjdk-8-jre \
13+
libstdc++6-i386-cross \
1514
libpulse0 \
1615
gcc \
1716
libc6-dev

ci/docker/x86_64-linux-android/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM ubuntu:16.04
1+
FROM ubuntu:22.04
22

33
RUN apt-get update && \
44
apt-get install -y --no-install-recommends \
55
ca-certificates \
66
curl \
77
gcc \
88
libc-dev \
9-
python \
9+
python-is-python3 \
1010
unzip \
1111
file \
1212
make

crates/core_arch/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
f16c_target_feature,
3232
allow_internal_unstable,
3333
decl_macro,
34-
bench_black_box,
3534
asm_const,
3635
target_feature_11
3736
)]

crates/stdarch-test/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
//! This basically just disassembles the current executable and then parses the
44
//! output once globally and then provides the `assert` function which makes
55
//! assertions about the disassembly of a function.
6-
#![feature(bench_black_box)] // For black_box
76
#![deny(rust_2018_idioms)]
87
#![allow(clippy::missing_docs_in_private_items, clippy::print_stdout)]
98

0 commit comments

Comments
 (0)