diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml index 530084b..e6f64dd 100644 --- a/.github/workflows/image.yml +++ b/.github/workflows/image.yml @@ -100,6 +100,7 @@ jobs: python3 --version git --version shellcheck --version | sed -n 2p + ccache --version | head -1 for script in overpressure-entrypoint overpressure-binfmt overpressure-hand-back; do [ -x /usr/local/bin/\$script ] done diff --git a/README.md b/README.md index b27bade..6ceed00 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,8 @@ that pin is what makes a build's tools the same on every computer and in a year. Ubuntu 24.04 (the base pinned by digest) with every tool of the builds: - the kernel's toolchain: `gcc-aarch64-linux-gnu` (on amd64; on arm64 the native `gcc`), binutils, `pahole` - (dwarves), `device-tree-compiler`, `flex`, `bison`, `bc`, `libssl-dev`, `libelf-dev`; + (dwarves), `device-tree-compiler`, `flex`, `bison`, `bc`, `libssl-dev`, `libelf-dev`, and `ccache`, which keeps + compiled objects between a kernel's check builds (a release builds without it); - LLVM 20's `clang-20` and `lld-20`, which compile natively inside the userspace build's aarch64 root; - `qemu-user-static`, whose `qemu-aarch64-static` runs that root's programs on an x86-64 host; - `python3`, `git`, `make`, `e2fsprogs`, `util-linux`, `zstd`, `xz-utils`, `cpio`, `curl`, `shellcheck`. diff --git a/image/Dockerfile b/image/Dockerfile index 74e10d7..3a8058a 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -22,7 +22,7 @@ RUN set -eu; \ bash ca-certificates coreutils curl diffutils findutils tar zstd xz-utils python3 e2fsprogs util-linux \ clang-20 lld-20 qemu-user-static \ make gcc libc6-dev "${cross[@]}" flex bison bc git perl cpio libssl-dev libelf-dev dwarves \ - device-tree-compiler shellcheck; \ + device-tree-compiler shellcheck ccache; \ rm -rf /var/lib/apt/lists/*; \ dpkg-query -W -f '${Package} ${Version} ${Architecture} ${source:Package} ${source:Version}\n' | sort \ > /usr/share/overpressure-packages.txt; \