Skip to content

cmake: Disable WITH_EXTERNAL_SIGNER when FUZZ=ON#128

Merged
hebasto merged 1 commit into
cmake-stagingfrom
240324-cmake-CS
Mar 25, 2024
Merged

cmake: Disable WITH_EXTERNAL_SIGNER when FUZZ=ON#128
hebasto merged 1 commit into
cmake-stagingfrom
240324-cmake-CS

Conversation

@hebasto
Copy link
Copy Markdown
Owner

@hebasto hebasto commented Mar 24, 2024

The behavior is aligned with the master branch.

First noticed in #89 (review).

Disable WITH_EXTERNAL_SIGNER when FUZZ=ON. The behavior is aligned with
the master branch.
@hebasto
Copy link
Copy Markdown
Owner Author

hebasto commented Mar 24, 2024

Friendly ping @pablomartin4btc @dergoegge :)

Copy link
Copy Markdown

@pablomartin4btc pablomartin4btc left a comment

Choose a reason for hiding this comment

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

tACK

Tested on Ubuntu 22.04.

Issue from description has been fixed with this PR: EXTERNAL_SIGNER optional feature is OFF now when DFUZZ=ON as in master.
git clone --depth=1 --branch 240324-cmake-CS https://github.com/hebasto/bitcoin.git bitcoin-hebasto
cd bitcoin-hebasto
cmake -B build \
   -DCMAKE_C_COMPILER="clang" \
   -DCMAKE_CXX_COMPILER="clang++" \
   -DCMAKE_BUILD_TYPE=None \
   -DFUZZ=ON \
   -DSANITIZERS=undefined,address,fuzzer

...


Configure summary
=================
Executables:
  bitcoind ............................ OFF
  bitcoin-cli ......................... OFF
  bitcoin-tx .......................... OFF
  bitcoin-util ........................ OFF
  bitcoin-wallet ...................... OFF
Wallet support:
  SQLite, descriptor wallets .......... ON
  Berkeley DB, legacy wallets ......... OFF
Optional packages:
  GUI ................................. OFF
  external signer ..................... OFF
  NAT-PMP ............................. OFF
  UPnP ................................ OFF
  ZeroMQ .............................. OFF
  USDT tracing ........................ ON
Tests:
  test_bitcoin ........................ OFF
  test_bitcoin-qt ..................... OFF
  bench_bitcoin ....................... OFF
  fuzz binary ......................... ON

...

Copy link
Copy Markdown

@dergoegge dergoegge left a comment

Choose a reason for hiding this comment

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

utACK d96f51a

@hebasto hebasto merged this pull request into cmake-staging Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants