feat(workspace): add multi-package workspace builds with shared lock and CAS
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 4s

- SDK: Workspace/workspace() declaration plus Project::workspace_dependency()
- Frontend: workspace.cpp discovery/evaluation alongside build.cpp
- Main: per-member builds sharing the root vbs.lock and build/.vbs CAS, --member and --changed-since selection
- Cross-member native linking; member builds do not steal the root compile_commands.json alias
- Path-dependency snapshots exclude generated editor metadata
- Verified in Docker GCC 16: 8/8 CTest suites; 3-member workspace fixture with unified lockfile
This commit is contained in:
faumaray committed 2026-12-03 13:07:09 +03:00
1 parent 09c0a91d1d
commit 2970fbe25c
12 files changed
+515 -19

No files matched your search

+2
View File
@@ -161,6 +161,8 @@ materialize_dependency_source(const DependencyRecord &dep, const FetchOptions &o
sopts.project_root = canon;
sopts.snapshot_store_dir = options.cache_dir / "path-snapshots";
sopts.materialize = false;
// Generated editor metadata is never a build input and may be an out-of-tree symlink.
sopts.excluded_names.push_back("compile_commands.json");
auto snap = Snapshot::capture_snapshot(sopts, {}, {canon});
if (!snap) {
return std::unexpected{snap.error()};