mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-21 06:10:58 +00:00
docs(telemetry): replace the non-existent default CMake preset
Every telemetry build instruction told the reader to run `cmake --preset default`. No `CMakePresets.json` is tracked in the repo, and the only preset that exists is `conan-release`, generated into the gitignored `CMakeUserPresets.json` by `conan install`. So the documented first build step fails before it starts, in the runbook's quick-start, its disable procedure, and the telemetry stack's testing guide. Replaced with the flow BUILD.md actually documents -- `conan install .. --output-folder .` followed by an explicit `conan_toolchain.cmake` invocation -- with `-o telemetry=True` / `-Dtelemetry=ON` as the telemetry delta, and a note that `--preset conan-release` works as a shorthand.
This commit is contained in:
@@ -111,7 +111,7 @@ These can be added later if dashboard queries specifically need them. The node h
|
||||
**Verification Checklist**:
|
||||
|
||||
- [ ] `conan install . --build=missing -o telemetry=True` succeeds
|
||||
- [ ] `cmake --preset default -Dtelemetry=ON` configures correctly
|
||||
- [ ] `cmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=build/generators/conan_toolchain.cmake -Dtelemetry=ON ..` configures correctly (there is no `default` preset; Conan writes `conan-release`)
|
||||
- [ ] Build succeeds with telemetry ON
|
||||
- [ ] Build succeeds with telemetry OFF
|
||||
- [ ] Existing tests pass with telemetry ON
|
||||
|
||||
Reference in New Issue
Block a user