Skip to content

Add incremental parallel builds and NILData project configuration - #20

Merged
bytetroll merged 4 commits into
codex/fallthrough-switchfrom
codex/nilbuild-incremental
Oct 29, 2026
Merged

bytetroll merged 4 commits into
codex/fallthrough-switchfrom
codex/nilbuild-incremental

Conversation

@bytetroll

@bytetroll bytetroll commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

nilbuild now reuses unchanged VM/native artifacts and schedules independent project/target compilations concurrently. Every build still analyzes current sources; SHA-256 identities cover consumed source/include/binary-library files, effective settings, tools and output contents. Project references establish build order, --jobs bounds concurrency, --target all builds both routes, and --rebuild bypasses reuse. Failed/cancelled jobs preserve the last successful artifact, and output locks prevent competing writers.

New project manifests, descriptions and cache state default to NILData. init and convert create configuration files; JSON and bounded YAML remain explicitly readable/writable. VS Code discovers and validates all supported formats. Standard-library format support, compiler/editor protocols and VS Code host configuration retain their formats.

Parallelism is across whole projects and VM/native targets; this does not introduce separate module compilation. Unknown native linker layouts and older compilers without complete dependency reports rebuild conservatively. Conversion stays within the project directory to preserve import lookup and working-directory semantics.

Validation: Release/LLVM build; full CTest suite (524 passed, one optional PostgreSQL integration skipped); all five nilbuild contracts rerun successfully after final input/state protection fixes; 132 extension unit tests; 337 CLI/editor parser differential cases; real JSON/NILData project checks on VM/native; 16 semantic host checks. The broader host run's rename/undo timeout passed in the isolated semantic rerun.

Builds on the switch, annotation and caller-reference work in #19, #18 and #17. Design and remaining boundaries are recorded in NIL-0022 and finding F79.

@bytetroll
bytetroll merged commit a318097 into codex/fallthrough-switch Oct 29, 2026
6 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