Page MenuHomePhabricator

[cmake] Add a target for the proof-manager-cli tool
ClosedPublic

Authored by Fabien on Tue, Nov 18, 16:21.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCa569b425ae1b: [cmake] Add a target for the proof-manager-cli tool
Summary

Make it easy to build (via ninja) and install (via install-proof-manager-cli) the proof manager CLI tool.

Note that this is still gated behind a flag to avoid making Rust a mandatory dependency for the node.

Depends on D18956.

Test Plan
cmake -GNinja .. -DBUILD_PROOF_MANAGER_CLI=ON
ninja # Builds the proof-manager-cli
ninja install-proof-manager-cli
ninja check-proof-manager-cli

./contrib/teamcity/build-configurations.py proof-manager-cli

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK added inline comments.
contrib/teamcity/build-configurations.yml
759 ↗(On Diff #56658)

Would it make sense to disable most other components (-DBUILD_BITCOIN_CLI=OFF -DBUILD_WALLET=OFF....) to speed up the build?

contrib/teamcity/build-configurations.yml
759 ↗(On Diff #56658)

Nvm, you already call a very specific target so it will not build any piece of the node.

contrib/teamcity/build-configurations.yml
759 ↗(On Diff #56658)

yes this would only save the related cmake time which is not much

This revision is now accepted and ready to land.Wed, Nov 19, 08:06