me

/

vinix-ports Public
382 commits 0 issues 0 pull requests 1 contributor Discussions Projects Snippets LOC history Platform CI

Use an 8 GiB build cap on the 12 GiB worker

diviocity committed 5 days ago · 65089a5fb8e84542f075304fa4762142ff679877 View patch
Unverified signature 1 files changed +1 -1
BOOTSTRAP.md +1 -1

@@ -50,7 +50,7 @@ The desktop metapackage requires musl 1.2.6-4 or later on arm64 and 1.2.6-2 or l

5050

5151Run `python3 tests/exec-linkage.py x86_64 "$client" "$auditor" --proot "$(command -v proot)"` on an x86_64 worker to exercise the installed loader against each dynamic executable in an audited root. For a Vinix guest, use `--fixture "$work/linkage.sh"` and pass that script to the boot harness. Packaged musl 1.2.6 applies relocations before returning from `--list`. It resolved all 109 dynamic executables in the signed 106-package x86_64 root. Renaming the exported `OPENSSL_init_ssl` symbol in an isolated copy of libssl caused the loader to reject `/usr/bin/openssl` with status 127. See `foundation/exec-linkage-01`, receipt SHA-256 `cb2fdec09f4b9e7c873ec82d672af576e9e0c26484f9496744588323a01ed3a0`.

5252

53-The Ubuntu build worker runs one build or guest test at a time under its shared `compile.lock`. Builds may use **two compiler jobs** under the same 1 GiB memory limit. Set `MAKEFLAGS=-j2` and `CMAKE_BUILD_PARALLEL_LEVEL=2`, or pass `-j2` to Ninja or Meson. The systemd service runs as a dynamic user with `CPUQuota=200%`, `MemoryHigh=768M`, `MemoryMax=1G` and `MemorySwapMax=0`. Keep downloads, build directories, emulators and signing tools in private worker state. Store the cgroup's `memory.peak` and `memory.events` with each build and record any single-job retry. The operator laptop needs only source edits and SSH.

53+The Ubuntu build worker serializes builds with `compile.lock`. Each build may use **two compiler jobs**. Set `MAKEFLAGS=-j2` and `CMAKE_BUILD_PARALLEL_LEVEL=2`, or pass `-j2` to Ninja or Meson. On the 12 GiB worker, run build services as a dynamic user with `CPUQuota=200%`, `MemoryHigh=6G`, `MemoryMax=8G` and `MemorySwapMax=0`. Guest-only checks can keep their 1 GiB service cap. Keep downloads, build directories, emulators and signing tools in private worker state. Store `memory.peak` and `memory.events` with each build and record any single-job retry. The worker recorded the live limit change in `foundation/worker-memory-8g-01`, receipt SHA-256 `e8d4771cb2a4ef8f7ea7a32c2d6e483b6a9f105f08486f2750c88d71b1d5e54f`.

5454

5555The aarch64 rebuilds of attr, ISL, libpng, libseccomp and Nettle require the 16 KiB musl SDK. Their clean signed install with musl, GMP and zlib audited eight package records, 514 owned paths and 25 target ELFs. The worker records exact versions and hashes in `arm/abi16/common-library-check-01`, receipt SHA-256 `71890d9f9aa07f33ea13f64dbb3caab5e45505d48779392afe92bc0d89c4f5a3`.

5656