mirror of
https://github.com/pithings/unkernel.git
synced 2026-12-02 11:00:25 +08:00
kernel/guest/alpine-opt.sh builds them from Alpine's own source, patches and configuration (the aports commits the image's packages came from), with gcc 16 at -O2 for rv64gc + Zba/Zbb/Zbs/Zicond, linked with lld, against a sysroot of Alpine's packages (the image's musl). alpine.sh and alpine-disk.sh swap the six files into the images. Measured in the guest: shell scripts about 20% faster, exec 24%, apk with both indexes 11%, sha1/sha512/chacha20 22-30% (.agents/guest-packages.md). The release workflow installs the host tools and caches the build output under its own key; no existing cache key, path or hashed file changes. setup.sh checks the new tools.