Skip to content

Conversation

m3dwards
Copy link
Contributor

@m3dwards m3dwards commented Apr 25, 2024

While testing #29708 I was not able to enable verbose output to check which flags were being given to the compiler.

With this PR, running depends with V=1 will enable verbose output from makefiles generated by cmake.

How to test:

make -C depends libnatpmp V=1

When running depends with V=1 this will now enable verbose output from makefiles generated by cmake.
@DrahtBot
Copy link
Contributor

DrahtBot commented Apr 25, 2024

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 hebasto, fanquake
Concept ACK alfonsoromanz, theuni

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

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #29962 (RFC: depends: add release type to CMake builds by theuni)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@fanquake
Copy link
Member

Concept ACK

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 7c69baf. Tested using the folowing command:

make -C depends native_capnp_built MULTIPROCESS=1 V=1

@alfonsoromanz
Copy link
Contributor

Concept ACK

@theuni
Copy link
Member

theuni commented Apr 25, 2024

Concept ACK. I just ran into this locally. I solved it using V=1 VERBOSE=1, but this makes sense too.

@DrahtBot
Copy link
Contributor

Guix builds (on x86_64) [untrusted test-only build, possibly unsafe, not for production use]

File commit 0e2e7d1
(master)
commit deda98e
(master and this pull)
SHA256SUMS.part cb61aee9f80ec1ba... 282e9656781e74a4...
*-aarch64-linux-gnu-debug.tar.gz aee07f71c47fe4ce... ccdd5f7e47b97d02...
*-aarch64-linux-gnu.tar.gz ba2365bd11aa0d2e... 117cddbc843a018d...
*-arm-linux-gnueabihf-debug.tar.gz 5b8e0c3177a93ff7... dfc4e820992cefae...
*-arm-linux-gnueabihf.tar.gz 80dd4d3fa9886900... 917321b8590b705e...
*-arm64-apple-darwin-unsigned.tar.gz a05f1e80bb8368cf... aa726a78c0fa8c76...
*-arm64-apple-darwin-unsigned.zip d7fddc2fd63564b5... 65f0651e4fd98030...
*-arm64-apple-darwin.tar.gz 9cf49289529c199a... a4a55c7282396678...
*-powerpc64-linux-gnu-debug.tar.gz 1ff0e9a500866b2f... fba27becd65ea815...
*-powerpc64-linux-gnu.tar.gz 0c57fe0ca2060225... f11dc31b379c36ba...
*-riscv64-linux-gnu-debug.tar.gz f297c7785b048f1e... eeb5c2f91de78d60...
*-riscv64-linux-gnu.tar.gz ba8df476a4f5795d... 759a78fd93c9db17...
*-x86_64-apple-darwin-unsigned.tar.gz f050edb765f1e320... 52adb8622d5af022...
*-x86_64-apple-darwin-unsigned.zip 37262b66a3c5729c... c010af8b9e5e3b2e...
*-x86_64-apple-darwin.tar.gz 9a234f1b809e0f06... 3c8e03397f1d39f0...
*-x86_64-linux-gnu-debug.tar.gz 2934441057abec67... 0772ee06f2351958...
*-x86_64-linux-gnu.tar.gz a6a70305a97536a8... eabda4adc7456089...
*.tar.gz 380e07ef0f352d9b... 3b91e23e5c5728c4...
guix_build.log 3d2cadabdeb0586f... 37c3f193a47f42b1...
guix_build.log.diff a51541c09914dfc5...

@m3dwards
Copy link
Contributor Author

I have tried to look for an alternative variable that will enable verbose output regardless of build system but I couldn't find one. I thought this looked promising https://cmake.org/cmake/help/latest/envvar/VERBOSE.html but it didn't work for me.

Copy link
Member

@fanquake fanquake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 7c69baf

@DrahtBot DrahtBot requested a review from theuni May 6, 2024 01:46
@fanquake fanquake merged commit 00ac1b9 into bitcoin:master May 6, 2024
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Oct 25, 2024
…efiles

7c69baf depends: pass verbose through to cmake based make (Max Edwards)

Pull request description:

  While testing bitcoin#29708 I was not able to enable verbose output to check which flags were being given to the compiler.

  With this PR, running depends with V=1 will enable verbose output from makefiles generated by cmake.

  How to test:

  ```shell
  make -C depends libnatpmp V=1
  ```

ACKs for top commit:
  hebasto:
    ACK 7c69baf. Tested using the folowing command:
  fanquake:
    ACK 7c69baf

Tree-SHA512: 81cd1326e940c5f14cbde96735fd02b03c1150881ed88d1e8dfa9385dfa12284bfa2cdfe097ce5f43a726c1718afb76ae16f71552ab68c207d74fdc1f7bb46ae
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Oct 26, 2024
…efiles

7c69baf depends: pass verbose through to cmake based make (Max Edwards)

Pull request description:

  While testing bitcoin#29708 I was not able to enable verbose output to check which flags were being given to the compiler.

  With this PR, running depends with V=1 will enable verbose output from makefiles generated by cmake.

  How to test:

  ```shell
  make -C depends libnatpmp V=1
  ```

ACKs for top commit:
  hebasto:
    ACK 7c69baf. Tested using the folowing command:
  fanquake:
    ACK 7c69baf

Tree-SHA512: 81cd1326e940c5f14cbde96735fd02b03c1150881ed88d1e8dfa9385dfa12284bfa2cdfe097ce5f43a726c1718afb76ae16f71552ab68c207d74fdc1f7bb46ae
PastaPastaPasta added a commit to dashpay/dash that referenced this pull request Oct 27, 2024
700b8c5 Merge bitcoin#29658: Bugfix: GUI: Help messages already have a trailing newline, so don't add an extra one (merge-script)
a0cd305 Merge bitcoin#29948: test: add missing comparison of node1's mempool in MempoolPackagesTest (Ava Chow)
f1907ea Merge bitcoin#29984: net: Replace ifname check with IFF_LOOPBACK in Discover (merge-script)
daa6eee Merge bitcoin#29960: depends: pass verbose through to cmake based makefiles (merge-script)
61a5832 Merge bitcoin#29907: test: Fix `test/streams_tests.cpp` compilation on SunOS / illumos (merge-script)
23f25a9 Merge bitcoin#29872: test: Add missing Assert(mock_time_in >= 0s) to SetMockTime (merge-script)
a7daee7 Merge bitcoin#29689: lint: scripted-diff verification also requires GNU grep (Ava Chow)
3df1ca1 Merge bitcoin#29953: doc: Bash is needed in gen_id and is not installed on FreeBSD by default (merge-script)
b53b854 Merge bitcoin#29850: net: Decrease nMaxIPs when learning from DNS seeds (Ava Chow)
c4a147c Merge bitcoin#28340: security: restrict abis in bitcoind.service (Ryan Ofsky)
acfdf9e Merge bitcoin#28373: doc: Add example of mixing private and public keys in descriptors (Ava Chow)
51bc8bd Merge bitcoin#29859: build: Fix false positive `CHECK_ATOMIC` test (merge-script)
bb4102c Merge bitcoin#29893: test: fix intermittent failure in p2p_compactblocks_hb.py (glozow)
4ecb761 Merge bitcoin#29786: Drop Windows Socket dependency for `randomenv.cpp` (fanquake)
1a8e805 Merge bitcoin#29498: test: Update --tmpdir doc string to say directory must not exist (fanquake)
81ca71c Merge bitcoin#29781: depends: add new LLVM debug macro (fanquake)
5ce92ca Merge bitcoin#29527: depends: add -g to DEBUG=1 flags (fanquake)

Pull request description:

  ## Issue being fixed or feature implemented
  Trivial backports

  ## What was done?

  ## How Has This Been Tested?
  built locally

  ## Breaking Changes

  ## Checklist:
    _Go over all the following points, and put an `x` in all the boxes that apply._
  - [ ] I have performed a self-review of my own code
  - [ ] I have commented my code, particularly in hard-to-understand areas
  - [ ] I have added or updated relevant unit/integration/functional/e2e tests
  - [ ] I have made corresponding changes to the documentation
  - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_

ACKs for top commit:
  UdjinM6:
    utACK 700b8c5 but pls confirm Guix is happy now before merging
  kwvg:
    utACK 700b8c5

Tree-SHA512: 9722979c4f0589cb02bfeaf39373713372a4aa1c8c5a55aa5b4d33388f73ef19231de3963b80ffaad25fbe0db90a133de5080baac691daed41b86a762b867b2d
@bitcoin bitcoin locked and limited conversation to collaborators May 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants