Skip to content
⌘K

build2

build2 build system.

health 28contrib 36686

Overview & architecture

C++ standard
–
Build systems
–
License
MIT
Languages
C++
Last release
v0.18.1 · Apr 9, 2026

Repository activity

snapshot Nov 22, 2026
GitHub stars
latest
686▲ 3
Merged PRs (30d)
latest
0
Contributors (90d)
–
No snapshots yet.
Issue first response p50
latest
14d▼ 12d
224 open issues0 open PRs2 releases / year4 commits (30d)0 good first issues5 help wanted

Recent notable activity

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement.
5 more candidates below the publish threshold
LabelleduntouchedcandidateMatches your profileBuild Systems

parallel import optimization

An idea to optimize (an inherently serial) load phase: we could load imported projects in parallel. Specifically, typically/idiomatically projects import their targets in a bloc, for example (from ODB compiler): import libs = libcutl%lib{cutl} import libs += libstudxml%lib{studxml} import libs += libstud-optional%lib{stud-optional} So, in the above example, we could start loading libcutl in a separate thread and continue parsing/loading projects in the subsequent import directives. Of course, will need to carefully lock loading of the same project from multiple places in parallel (and…

48score
concurrencydocsperformance
  • Demand 25% × 0.25 = 60 reactions, 0 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.88 = 26build2 is in Language & Toolchain (a focus area); issue needs concurrency, performance, which you listed; project tags you follow: cpp20
  • Maintainer engagement 25% × 0.27 = 7comments not checked; filed by a maintainer; project responsiveness 29%
  • Feasibility 20% × 0.45 = 9clear scope; has reproduction steps; has code; project onboarding 0%
Evidence
  • #540 parallel import optimizationissue
    An idea to optimize (an inherently serial) load phase: we could load imported projects in parallel. Specifically, typically/idiomatically projects import their targets in a bloc, for example (from ODB compiler): import libs = libcutl%lib{cutl} import libs +=…
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 19h ago
LabelleduntouchedcandidateMatches your profileBuild Systems

Optimize noop bdep auto-synchronization

On larger project bdep auto-synchronization is too slow to be practical: $ time b gcc-pgsql/ gcc-sqlite/ gcc-mysql/ gcc-oracle/ gcc-mssql/ info: dir{gcc-pgsql/} is up to date info: dir{gcc-sqlite/} is up to date info: dir{gcc-mysql/} is up to date info: dir{gcc-oracle/} is up to date info: dir{gcc-mssql/} is up to date real 9.53 user 9.00 sys 4.32 time BDEP_SYNC=0 b gcc-pgsql/ gcc-sqlite/ gcc-mysql/ gcc-oracle/ gcc-mssql/ info: dir{gcc-pgsql/} is up to date info: dir{gcc-sqlite/} is up to date info: dir{gcc-mysql/} is up to date info: dir{gcc-oracle/} is up to date info: dir{gcc-mssql/} is up…

46score
performance
  • Demand 25% × 0.33 = 80 reactions, 2 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.73 = 22build2 is in Language & Toolchain (a focus area); issue needs performance, which you listed; project tags you follow: cpp20
  • Maintainer engagement 25% × 0.27 = 7comments not checked; filed by a maintainer; project responsiveness 29%
  • Feasibility 20% × 0.45 = 9clear scope; has reproduction steps; has code; project onboarding 0%
Evidence
  • #539 [bpkg] optimize noop bdep auto-synchronizationissue
    On larger project bdep auto-synchronization is too slow to be practical: $ time b gcc-pgsql/ gcc-sqlite/ gcc-mysql/ gcc-oracle/ gcc-mssql/ info: dir{gcc-pgsql/} is up to date info: dir{gcc-sqlite/} is up to date info: dir{gcc-mysql/} is up to date info: dir{gcc-oracle/} is up…
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 19h ago
LabelleduntouchedcandidateMatches your profileBuild Systems

Ruse already detected C stdlib in C++ compiler

When we detect the C++ compiler, we detect both C and C++ stdlibs, which requires two separate runs of the compiler. If the C compiler has already been detected, we can probably reuse its C stdlib (and probably vice versa). Here is a typical "detection" commands (notice two -E commands for C++): LC_ALL=C gcc-15 -v gcc-15 -g -print-multiarch gcc-15 -g -x c -E - LC_ALL=C gcc-15 -std=c9x -print-search-dirs LC_ALL=C gcc-15 -std=c9x -x c -v -E - LC_ALL=C g++-15 -v g++-15 -g -print-multiarch g++-15 -g -x c++ -E - g++-15 -g -x c++ -E - LC_ALL=C g++-15 -std=gnu++17 -print-search-dirs LC_ALL=C g++-15…

44score
performance
  • Demand 25% × 0.25 = 60 reactions, 0 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.73 = 22build2 is in Language & Toolchain (a focus area); issue needs performance, which you listed; project tags you follow: cpp20
  • Maintainer engagement 25% × 0.27 = 7comments not checked; filed by a maintainer; project responsiveness 29%
  • Feasibility 20% × 0.45 = 9clear scope; has reproduction steps; has code; project onboarding 0%
Evidence
  • #554 Ruse already detected C stdlib in C++ compilerissue
    When we detect the C++ compiler, we detect both C and C++ stdlibs, which requires two separate runs of the compiler. If the C compiler has already been detected, we can probably reuse its C stdlib (and probably vice versa). Here is a typical "detection" commands (notice two -E…
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated 19h ago
Help wantedstaleMatches your profileBuild Systems

build2-build fails on alpine-edge

I've tested this on an alpine-edge linux container and void-linux with the musl variant on a complete VM. *The void glibc version builds it without fault. I believe it might have something to do with musl libc. But it always ends in a segmentation fault for both. I have an alpine-edge log but it was an overwrite of previous builds that also failed with the same error. I had to install coreutils and alias the default sha256sum busybox variant to the gnu one because it doesn't have the '--version' option which the install script needs. Using this command: alias sha256sum="coreutils…

40score
linux
  • Demand 25% × 0.00 = 00 reactions, 8 comments (not counted alone)
  • Technical fit 30% × 0.73 = 22build2 is in Language & Toolchain (a focus area); issue needs linux, which you listed; project tags you follow: cpp20
  • Maintainer engagement 25% × 0.20 = 5comments not checked; labelled (triaged)
  • Feasibility 20% × 0.65 = 13newcomer label; has reproduction steps; has code; project onboarding 0%
Evidence
  • #438 build2-build fails on alpine-edgeissue
    I've tested this on an alpine-edge linux container and void-linux with the musl variant on a complete VM. *The void glibc version builds it without fault. I believe it might have something to do with musl libc. But it always ends in a segmentation fault for both. I have an…
Suggested first step

Reproduce the build problem in a clean environment (container or CI matrix), then propose the smallest change to the build scripts.

Rule-generated · updated Oct 14, 2026
Help wantedcandidateMatches your profileBuild Systems

: `error: unable to read clang output: unexpected output line '^: \': iostream stream error`

Triggers as soon as I bump from (Windows) Clang 21.1.8 to 22.1.0: bdep update @clang -V clang -finput-charset=UTF-8 -D_MT -D_DLL -E -dM -MD -MF - -MQ ^ -o - -x c C:\Users\me\git\b2\cpptrace-clang\libcpptrace\src\cpptrace-autoconf.h error: unable to read clang output: unexpected output line '^: \': iostream stream error info: while updating C:\Users\me\git\b2\cpptrace-clang\libcpptrace\src\buildfile{cpptrace-autoconf.build} C:\Users\me\git\b2\cpptrace\libcpptrace\src\buildfile:76:10: info: while updating C:\Users\me\git\b2\cpptrace-clang\libcpptrace\src\buildfile{cpptrace-autoconf.build}…

39score
windows
  • Demand 25% × 0.00 = 00 reactions, 3 comments (not counted alone)
  • Technical fit 30% × 0.53 = 16build2 is in Language & Toolchain (a focus area); project tags you follow: cpp20
  • Maintainer engagement 25% × 0.27 = 7comments not checked; labelled (triaged); project responsiveness 29%
  • Feasibility 20% × 0.80 = 16newcomer label; clear scope; has reproduction steps; has code; project onboarding 0%
Evidence
Suggested first step

Reproduce the bug on the latest main branch of build2, reduce it to a minimal example, and post your findings on the issue before opening a PR.

Rule-generated · updated 19h ago

Why this score

Health 28Contribution friendliness 36computed 19h ago
  • Activity0.20
    0 merged PRs in 30 days (full marks at 20); 4 commits in 30 days (full marks at 60)health
  • Onboarding0.00
    none of the onboarding checks passcontrib
  • Entry points0.75
    5 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10)contrib
  • Maintainer responsiveness0.29
    median first maintainer response 332 h (full marks within 48 h, zero after 30 days)healthcontrib
  • Release cadence0.61
    last release 227 days ago (full marks within 90, zero after 730); 2 releases in 365 days (full marks at 4)health
  • Backlog pressure0.18
    69% of 13 scanned open issues are older than a year (full marks at <= 20%, zero at >= 80%)health
  • Contributor breadth0.10
    top contributor has 86% of commits; stars count for at most 5% of this signalhealth

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.

Maintain, review, build and signals

other opportunities that concern this project