bitcoin icon indicating copy to clipboard operation
bitcoin copied to clipboard

depends: Print ready-to-use `--toolchain` option for CMake invocation

Open hebasto opened this issue 1 year ago • 3 comments

Requested in https://github.com/bitcoin/bitcoin/pull/30997#issuecomment-2385057317:

P.S. it would be nice if make in depends provides the incantation needed for the configure stage.

An example of a build log with this PR:

$ make --no-print-directory -C depends -j16 NO_QT=1 NO_WALLET=1 NO_UPNP=1 NO_NATPMP=1 NO_ZMQ=1 NO_USDT=1 LOG=1
Extracting boost...
/home/hebasto/git/bitcoin/depends/sources/boost_1_81_0.tar.gz: OK
Preprocessing boost...
Configuring boost...
Building boost...
Staging boost...
Postprocessing boost...
Caching boost...
Extracting libevent...
/home/hebasto/git/bitcoin/depends/sources/libevent-2.1.12-stable.tar.gz: OK
Preprocessing libevent...
Configuring libevent...
Building libevent...
Staging libevent...
Postprocessing libevent...
Caching libevent...
copying packages: boost libevent
to: /home/hebasto/git/bitcoin/depends/x86_64-pc-linux-gnu
To build Bitcoin Core with these packages, pass '--toolchain /home/hebasto/git/bitcoin/depends/x86_64-pc-linux-gnu/toolchain.cmake' to the first CMake invocation.

hebasto avatar Oct 01 '24 12:10 hebasto

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Code Coverage

For detailed information about the code coverage, see the test coverage report.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK Sjors, theuni, jarolrod, pablomartin4btc

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

DrahtBot avatar Oct 01 '24 12:10 DrahtBot

Friendly ping @Sjors :)

hebasto avatar Oct 01 '24 12:10 hebasto

tACK 605926da0ab4ac7ae4e9aed55a059f37c31c15b5

Sjors avatar Oct 01 '24 13:10 Sjors