File tree 35 files changed +186
-153
lines changed
aarch64-unknown-linux-gnu
aarch64-unknown-linux-musl
arm-unknown-linux-gnueabihf
arm-unknown-linux-musleabihf
armv7-unknown-linux-uclibceabihf
mips64-unknown-linux-gnuabi64
mips64-unknown-linux-muslabi64
mips64el-unknown-linux-gnuabi64
mips64el-unknown-linux-muslabi64
mipsel-unknown-linux-musl
mipsel-unknown-linux-uclibc
powerpc-unknown-linux-gnu
powerpc64-unknown-linux-gnu
powerpc64le-unknown-linux-gnu
riscv64gc-unknown-linux-gnu
sparc64-unknown-linux-gnu
wasm32-unknown-emscripten
x86_64-unknown-linux-gnux32
x86_64-unknown-linux-musl
35 files changed +186
-153
lines changed Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN dpkg --add-architecture i386
4
4
RUN apt-get update
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
RUN apt-get update && apt-get install -y --no-install-recommends \
3
3
gcc libc6-dev ca-certificates \
4
4
gcc-aarch64-linux-gnu libc6-dev-arm64-cross qemu-user
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc make libc6-dev git curl ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN dpkg --add-architecture i386
4
4
RUN apt-get update
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
RUN apt-get update && apt-get install -y --no-install-recommends \
3
3
gcc libc6-dev ca-certificates \
4
4
gcc-arm-linux-gnueabihf libc6-dev-armhf-cross qemu-user
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc make libc6-dev git curl ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates qemu-system-arm curl \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
# This is a workaround to avoid the interaction with tzdata.
4
4
ENV DEBIAN_FRONTEND=noninteractive
@@ -15,7 +15,8 @@ RUN apt-get install -y --no-install-recommends \
15
15
libxml2 \
16
16
python3 \
17
17
python3-distutils \
18
- xz-utils
18
+ xz-utils \
19
+ bzip2
19
20
20
21
COPY emscripten.sh /
21
22
RUN bash /emscripten.sh
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN dpkg --add-architecture i386
4
4
RUN apt-get update
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
RUN apt-get update
3
3
RUN apt-get install -y --no-install-recommends \
4
4
gcc-multilib libc6-dev ca-certificates
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN dpkg --add-architecture i386
4
4
RUN apt-get update
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates qemu-system-mips curl \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc make libc6-dev git curl ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc make libc6-dev git curl ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates qemu-system-mipsel curl \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates qemu-system-mipsel curl \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev qemu-user ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
curl ca-certificates \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && apt-get install -y --no-install-recommends \
4
4
curl ca-certificates \
Original file line number Diff line number Diff line change
1
+ # FIXME: Update to 22.04 once Debian image of sparc64 has a newer glibc.
1
2
FROM ubuntu:20.04
2
3
3
4
RUN apt-get update && apt-get install -y --no-install-recommends \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
# This is a workaround to avoid the interaction with tzdata.
4
4
ENV DEBIAN_FRONTEND=noninteractive
@@ -21,7 +21,8 @@ RUN apt-get install -y --no-install-recommends \
21
21
cmake \
22
22
sudo \
23
23
gdb \
24
- xz-utils
24
+ xz-utils \
25
+ bzip2
25
26
26
27
RUN ln -s /usr/bin/python3 /usr/bin/python & \
27
28
ln -s /usr/bin/pip3 /usr/bin/pip
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && \
4
4
apt-get install -y --no-install-recommends \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update && \
4
4
apt-get install -y --no-install-recommends \
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
RUN apt-get update
3
3
RUN apt-get install -y --no-install-recommends \
4
4
gcc libc6-dev ca-certificates linux-headers-generic
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
RUN apt-get update
3
3
RUN apt-get install -y --no-install-recommends \
4
4
gcc-multilib libc6-dev ca-certificates
Original file line number Diff line number Diff line change 1
- FROM ubuntu:20 .04
1
+ FROM ubuntu:22 .04
2
2
3
3
RUN apt-get update
4
4
RUN apt-get install -y --no-install-recommends \
Original file line number Diff line number Diff line change 2
2
3
3
set -ex
4
4
5
- EMSDK_VERSION=1.39.20
6
-
7
- hide_output () {
8
- set +x
9
- on_err="
10
- echo ERROR: An error was encountered with the build.
11
- cat /tmp/build.log
12
- exit 1
13
- "
14
- trap ' $on_err' ERR
15
- bash -c " while true; do sleep 30; echo \$ (date) - building ...; done" &
16
- PING_LOOP_PID=$!
17
- " ${@ } " & > /tmp/build.log
18
- trap - ERR
19
- kill $PING_LOOP_PID
20
- rm -f /tmp/build.log
21
- set -x
22
- }
5
+ # FIXME: 3.1.21 removed a lot of header files (https://github.com/emscripten-core/emscripten/pull/17704).
6
+ # We have to tweak libc-test (and deprecate unsupported items, maybe) when updating emsdk.
7
+ EMSDK_VERSION=3.1.20
23
8
24
9
git clone https://github.com/emscripten-core/emsdk.git /emsdk-portable
25
10
cd /emsdk-portable
26
- hide_output ./emsdk install " ${EMSDK_VERSION} "
11
+ ./emsdk install " ${EMSDK_VERSION} "
27
12
./emsdk activate " ${EMSDK_VERSION} "
28
13
29
14
# Compile and cache libc
30
15
# shellcheck disable=SC1091
31
16
source ./emsdk_env.sh
32
- echo " main(){ }" > a.c
17
+ echo " int main() {return 0; }" > a.c
33
18
HOME=/emsdk-portable/ emcc a.c
34
19
rm -f a.*
35
20
Original file line number Diff line number Diff line change 5
5
mkdir -m 777 /qemu
6
6
cd /qemu
7
7
8
- curl --retry 5 -LO https://cdimage.debian.org/cdimage/ports/snapshots/2021-10-20 /debian-11.0.0-sparc64-NETINST-1.iso
8
+ curl --retry 5 -LO https://cdimage.debian.org/cdimage/ports/snapshots/2022-03-28 /debian-11.0.0-sparc64-NETINST-1.iso
9
9
7z e debian-11.0.0-sparc64-NETINST-1.iso install/initrd.gz
10
10
7z e debian-11.0.0-sparc64-NETINST-1.iso install/vmlinux
11
11
mv vmlinux kernel
You can’t perform that action at this time.
0 commit comments