cmake: Make `BUILD_KERNEL_TEST` depend on `BUILD_KERNEL_LIB` #33972

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:251130-kernel-test changing 1 files +1 −1
  1. hebasto commented at 1:45 PM on November 30, 2025: member

    The CMake script in the test/kernel subdirectory is already gated by BUILD_KERNEL_LIB:https://github.com/bitcoin/bitcoin/blob/f6acbef1084e34f126bf530df99e4ef6a11c38e8/src/CMakeLists.txt#L405-L409

    As a result, the following configuration summary is misleading:

    $ cmake -B build -DBUILD_KERNEL_LIB=OFF -DBUILD_KERNEL_TEST=ON
    <snip>
      bitcoin-chainstate (experimental) ... OFF
      libbitcoinkernel (experimental) ..... OFF
      kernel-test (experimental) .......... ON
    <snip>
    

    This PR fixes the behaviour by making the BUILD_KERNEL_TEST option explicitly depend on BUILD_KERNEL_LIB.

  2. cmake: Make `BUILD_KERNEL_TEST` depend on `BUILD_KERNEL_LIB` fe1815d48f
  3. hebasto added the label Build system on Nov 30, 2025
  4. DrahtBot commented at 1:46 PM on November 30, 2025: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

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

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/33972.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK maflcko, sedited

    If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore.

    <!--5faf32d7da4f0f540f40219e4f7537a3-->

  5. hebasto commented at 1:47 PM on November 30, 2025: member
  6. maflcko commented at 8:18 AM on December 1, 2025: member

    lgtm ACK fe1815d48f0cee57d2f1af50b377c7f9e462369e

  7. sedited approved
  8. sedited commented at 8:44 AM on December 1, 2025: contributor

    ACK fe1815d48f0cee57d2f1af50b377c7f9e462369e

  9. fanquake merged this on Dec 1, 2025
  10. fanquake closed this on Dec 1, 2025

  11. hebasto deleted the branch on Dec 1, 2025
  12. alexanderwiederin referenced this in commit 7334556a3f on Dec 1, 2025
  13. stringintech referenced this in commit b7c3ec1af3 on Dec 12, 2025
  14. stickies-v referenced this in commit 9fa736f8e4 on Jan 22, 2026
  15. Kino1994 referenced this in commit 9aa0168746 on Jun 28, 2026
  16. BigcoinBGC referenced this in commit 5e2d395f42 on Jun 30, 2026
  17. Kino1994 referenced this in commit 4fc6d42e78 on Aug 19, 2026
  18. bitcoin locked this on Dec 1, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-12-05 03:52 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me