refactor(watch): move the Linux inotify watcher under src/Watch/Linux
This commit is contained in:
1 parent
9b405ce772
commit
8001d98bb7
10 files changed
+30
-8
No files matched your search
@@ -46,7 +46,7 @@ flowchart LR
|
||||
|
||||
| Phase | Concrete Scope | Acceptance Gate |
|
||||
| --- | --- | --- |
|
||||
| **C1 — Platform Backend Split** *(Linux backend split implemented; macOS/Windows pending)* | Split `src/Platform/` into `Linux/`, `MacOS/`, and `Windows/` behind clean interfaces (`FileOps`, `ProcessSupervisor`, `DirectoryWatcher`), delegating to `Void::System` as upstream adds OS backends. Linux implementations now live under `src/Platform/Linux/` with an explicit `HostOs`/`host_supported()` boundary in `include/Void/Build/Platform/Host.hpp`; macOS/Windows backends await real hosts. | Zero Linux regressions; clean platform abstraction boundary. |
|
||||
| **C1 — Platform Backend Split** *(Linux backend split implemented; macOS/Windows pending)* | Split `src/Platform/` into `Linux/`, `MacOS/`, and `Windows/` behind clean interfaces (`FileOps`, `ProcessSupervisor`, `DirectoryWatcher`), delegating to `Void::System` as upstream adds OS backends. Linux implementations now live under `src/Platform/Linux/` and `src/Watch/Linux/` (inotify watcher) with an explicit `HostOs`/`host_supported()` boundary in `include/Void/Build/Platform/Host.hpp`; macOS/Windows backends await real hosts. | Zero Linux regressions; clean platform abstraction boundary. |
|
||||
| **C2 — macOS / Apple Clang & `ld64`** | Apple Clang toolchain probes, `.dylib` + `@rpath`/`@loader_path` install-name lowering, `FSEvents` watcher, Mach-O deterministic timestamps. | Real macOS CI runner passing all SDK, core, module, and install tests. |
|
||||
| **C3 — Windows / MSVC & `clang-cl`** | MSVC (`cl.exe`, `lib.exe`, `link.exe`, `/showIncludes`, `.pdb`, `/FS`, `.dll`/`.lib` import libraries), Job Object process-tree kill, `ReadDirectoryChangesW` watcher, case-insensitive path conflict detection. | Real Windows CI runner passing process-tree kill, header-shadowing, and install relocation tests. |
|
||||
| **C4 — True Host-vs-Target Cross-Compilation** | Dual-context evaluation (`host` profile for code generators and `build_dependency` tools vs `target` profile for cross-compiled products), sysroot & `--target=` triple propagation. | `linux-x86_64` host cross-compiling `linux-aarch64` fixture while executing host-compiled generator natively. |
|
||||
|
||||
@@ -21,7 +21,7 @@ Authority: [requirements](REQUIREMENTS.md), [architecture](ARCHITECTURE.md),
|
||||
| [07 — Transactional state and local artifact cache](07-state-local-cache.md) | Implemented & Verified | [StateStore.cpp](../../src/State/StateStore.cpp) |
|
||||
| [08 — Modules, header units and compiler features](08-modern-cpp.md) | Implemented & Verified | [ModuleScanner.cpp](../../src/Modules/ModuleScanner.cpp) |
|
||||
| [09 — Compilation databases and editor selection](09-compilation-database.md) | Implemented & Verified | [CompDb.cpp](../../src/Editor/CompDb.cpp) |
|
||||
| [10 — Reconciliation, build watching and metadata watching](10-watchers-cli.md) | Implemented & Verified | [Watcher.cpp](../../src/Watch/Watcher.cpp), [Main.cpp](../../src/Main.cpp) |
|
||||
| [10 — Reconciliation, build watching and metadata watching](10-watchers-cli.md) | Implemented & Verified | [Watcher.cpp](../../src/Watch/Linux/Watcher.cpp), [Main.cpp](../../src/Main.cpp) |
|
||||
| [11 — Dependency declarations, native solver and lockfile](11-dependencies-solver-lock.md) | Implemented & Verified | [Toml.cpp](../../src/Package/Toml.cpp), [Solver.cpp](../../src/Package/Solver.cpp), [Lockfile.cpp](../../src/Package/Lockfile.cpp) |
|
||||
| [12 — Acquisition, source packages and binary packages](12-fetching-packages.md) | Implemented & Verified | [Archive.cpp](../../src/Package/Archive.cpp), [Fetch.cpp](../../src/Package/Fetch.cpp) |
|
||||
| [13 — CMake, Meson and Conan providers](13-foreign-providers.md) | Implemented & Verified | [Provider.cpp](../../src/Provider/Provider.cpp) (Conan fails explicitly if `conan` absent) |
|
||||
|
||||
Reference in new issue
Block a user