Compare commits
6
Commits
d60cf94905
...
e0f22f808f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e0f22f808f | ||
|
|
111229686c | ||
|
|
a5551db1c3 | ||
|
|
83b92d118b | ||
|
|
78f2b22c8c | ||
|
|
77bdb0c427 |
+5
-1
@@ -20,7 +20,6 @@ add_library(veloxcore STATIC
|
|||||||
src/net/probe.cpp
|
src/net/probe.cpp
|
||||||
src/io/sparse_file.cpp
|
src/io/sparse_file.cpp
|
||||||
src/io/write_buffer.cpp
|
src/io/write_buffer.cpp
|
||||||
src/io/platform/linux/file_ops.cpp
|
|
||||||
src/meta/veloxpart.cpp
|
src/meta/veloxpart.cpp
|
||||||
src/segment/segmenter.cpp
|
src/segment/segmenter.cpp
|
||||||
src/segment/budget.cpp
|
src/segment/budget.cpp
|
||||||
@@ -33,6 +32,11 @@ add_library(veloxcore STATIC
|
|||||||
)
|
)
|
||||||
add_library(velox::core ALIAS veloxcore)
|
add_library(velox::core ALIAS veloxcore)
|
||||||
|
|
||||||
|
# Per-OS backend behind src/io/platform/*.hpp (docs/adr/0020, docs/08-porting.md). Only
|
||||||
|
# the Linux backend exists (Phase 0); source selection lives in cmake/platform.cmake and
|
||||||
|
# nowhere else, so PORT's platform/macos/ addition needs no edit here.
|
||||||
|
velox_platform_sources(veloxcore src/io)
|
||||||
|
|
||||||
target_include_directories(veloxcore
|
target_include_directories(veloxcore
|
||||||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include
|
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include
|
||||||
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src # net/*.cpp -> "net/curl_error.hpp"
|
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src # net/*.cpp -> "net/curl_error.hpp"
|
||||||
|
|||||||
@@ -83,17 +83,14 @@ add_library(veloxd_rpc STATIC
|
|||||||
src/rpc/ws_server.cpp
|
src/rpc/ws_server.cpp
|
||||||
src/rpc/pairing.cpp
|
src/rpc/pairing.cpp
|
||||||
src/rpc/dispatcher.cpp
|
src/rpc/dispatcher.cpp
|
||||||
# Per-OS backends behind daemon/src/rpc/platform/*.hpp (docs/adr/0020,
|
|
||||||
# docs/08-porting.md). Only the Linux backend exists (Phase 0); lane PORT adds
|
|
||||||
# cmake/platform.cmake + platform/macos/ in Phase 1 and this hardcoded list becomes
|
|
||||||
# a velox_platform_sources() call.
|
|
||||||
src/rpc/platform/linux/wakeup.cpp
|
|
||||||
src/rpc/platform/linux/peer_id.cpp
|
|
||||||
src/rpc/platform/linux/instance_lock.cpp
|
|
||||||
src/rpc/platform/linux/runtime_paths.cpp
|
|
||||||
)
|
)
|
||||||
add_library(velox::daemon_rpc ALIAS veloxd_rpc)
|
add_library(velox::daemon_rpc ALIAS veloxd_rpc)
|
||||||
|
|
||||||
|
# Per-OS backends behind daemon/src/rpc/platform/*.hpp (docs/adr/0020, docs/08-porting.md).
|
||||||
|
# Source selection lives in cmake/platform.cmake and nowhere else — PORT adds
|
||||||
|
# platform/macos/ with no edit here.
|
||||||
|
velox_platform_sources(veloxd_rpc src/rpc)
|
||||||
|
|
||||||
target_include_directories(veloxd_rpc PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
target_include_directories(veloxd_rpc PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/src)
|
||||||
target_compile_features(veloxd_rpc PUBLIC cxx_std_23)
|
target_compile_features(veloxd_rpc PUBLIC cxx_std_23)
|
||||||
target_compile_options(veloxd_rpc PRIVATE -Wall -Wextra -Wpedantic -Werror)
|
target_compile_options(veloxd_rpc PRIVATE -Wall -Wextra -Wpedantic -Werror)
|
||||||
|
|||||||
@@ -67,7 +67,12 @@ failure for the whole project — not a skipped guard, not a GUI-only problem.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## R2 — `--check` verifies the outcome, not the thing that can break
|
## R2 — `--check` verifies the outcome, not the thing that can break — RESOLVED
|
||||||
|
|
||||||
|
**Status: done.** `tools/bootstrap.sh` now validates every apt name in `PKGS` via
|
||||||
|
`apt-cache policy` and greps for the `Candidate: (none)` line rather than trusting the
|
||||||
|
exit code (which is 0 either way) — the exact loop this request drafted. This is the
|
||||||
|
check that would have caught `libqt6svg6-dev` (R1) before the VM did.
|
||||||
|
|
||||||
`--check` today runs the "verify toolchain" block: `command -v` for the binaries,
|
`--check` today runs the "verify toolchain" block: `command -v` for the binaries,
|
||||||
`pkg-config --exists` for the dev libs (`Qt6Core`, `Qt6Widgets`, `Qt6Svg`, `libcurl`,
|
`pkg-config --exists` for the dev libs (`Qt6Core`, `Qt6Widgets`, `Qt6Svg`, `libcurl`,
|
||||||
|
|||||||
Reference in New Issue
Block a user