docs: builders compile through the slot wrapper's job count, not a hand-set 2 (nevr-builder trap 9, AGENTS.md Builds)

Open Beginner friendly
#2,823 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
72/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
cmake, shell

Research direction

Start with .claude/skills/nevr-builder/SKILL.md (trap 9) and the "Builds" section of AGENTS.md, which both still give the job count as 2. Read the slot wrapper's description to see how it derives the count, then reword both texts to say the build goes through the work root's slot-build.sh and that no one passes their own -j, --parallel or CMAKE_BUILD_PARALLEL_LEVEL. Done when git grep -n -e 'PARALLEL_LEVEL=2' -e '-j2' -- AGENTS.md .claude docs returns only the history under docs/audits.

Written by the indexing model from the issue text.

Description

documentation

Two instruction texts still tell a builder to compile with 2 jobs, which the shared slot wrapper replaced: a build runs through the work root's slot-build.sh, which sets the job count from the core count divided by its slots, so a hand-set count of 2 makes each compile take many times longer.

Evidence at release/v6.20.0

  • .claude/skills/nevr-builder/SKILL.md, trap 9: a builder's build runs with CMAKE_BUILD_PARALLEL_LEVEL=2, VCPKG_MAX_CONCURRENCY=2, GOMAXPROCS=2 and -p 2.
  • AGENTS.md, "Builds": "A builder compiles with CMAKE_BUILD_PARALLEL_LEVEL=2 and VCPKG_MAX_CONCURRENCY=2 in its environment".
  • The slot wrapper (<work root>/slot-build.sh) sets CMAKE_BUILD_PARALLEL_LEVEL, VCPKG_MAX_CONCURRENCY, GOMAXPROCS and GOFLAGS=-p=<n> to the online cores divided by its slot count, and holds one of its slots with flock while the build runs.

Not shown

  • Whether any other document or brief template outside these two names a job count of 2.

Falsifier

git grep -n -e 'PARALLEL_LEVEL=2' -e '-j2' -- AGENTS.md .claude docs finds a current instruction other than the two above.

Work

  1. Both texts say a build goes through the work root's slot wrapper, which sets the job count from the core count divided by its slots, and that nobody passes their own -j, --parallel or CMAKE_BUILD_PARALLEL_LEVEL.
  2. git grep -n -e 'PARALLEL_LEVEL=2' -e '-j2' -- AGENTS.md .claude docs finds nothing but history (docs/audits).

Points: 1.

Dominant language
C++
Stars
3
Forks
5
Avg merge
4h 7m
Merged PRs (30d)
634

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EchoTools/nevr-runtime

All issues in EchoTools/nevr-runtime

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.