Skip to content

build: serialize builds with .NOTPARALLEL to cap RAM and keep stderr … - #16

Merged
vjan-nie merged 1 commit into
Univers42:mainfrom
vjan-nie:fix/cap-build-parallelism
Jul 18, 2026
Merged

build: serialize builds with .NOTPARALLEL to cap RAM and keep stderr …#16
vjan-nie merged 1 commit into
Univers42:mainfrom
vjan-nie:fix/cap-build-parallelism

Conversation

@vjan-nie

Copy link
Copy Markdown
Collaborator

…clean

Unbounded make -j (or concurrent multi-tier builds) peaks RAM high enough to swap-freeze low-headroom machines — measured cause of repeated hangs. Serial builds cost ~19s over -j2 (link-bound anyway) and stay well under one tier's RAM. .NOTPARALLEL is used instead of forcing -j in MAKEFLAGS because the latter emits a jobserver warning under the recursive tier builds, which audit.sh (and thus CI) treats as a failure. verify-tiers builds all three tiers sequentially for safe -Werror checks.

…clean

Unbounded make -j (or concurrent multi-tier builds) peaks RAM high enough to
swap-freeze low-headroom machines — measured cause of repeated hangs. Serial
builds cost ~19s over -j2 (link-bound anyway) and stay well under one tier's
RAM. .NOTPARALLEL is used instead of forcing -j in MAKEFLAGS because the
latter emits a jobserver warning under the recursive tier builds, which
audit.sh (and thus CI) treats as a failure. verify-tiers builds all three
tiers sequentially for safe -Werror checks.
@vjan-nie
vjan-nie merged commit 81e102c into Univers42:main Jul 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant