FindBoost
module has been removed by policy CMP0167.
build: Find Boost in config mode #32667
pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:250602-boost-config changing 1 files +5 −24-
hebasto commented at 9:14 pm on June 2, 2025: memberThe
-
hebasto added the label Build system on Jun 2, 2025
-
DrahtBot commented at 9:14 pm on June 2, 2025: contributor
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
Code Coverage & Benchmarks
For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/32667.
Reviews
See the guideline for information on the review process.
Type Reviewers ACK purpleKarrot If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Conflicts
No conflicts as of last run.
-
in cmake/module/AddBoostIfNeeded.cmake:34 in 9cf00ebe4b outdated
16@@ -17,17 +17,8 @@ function(add_boost_if_needed) 17 directory and other added INTERFACE properties. 18 ]=] 19 20- # We cannot rely on find_package(Boost ...) to work properly without 21- # Boost_NO_BOOST_CMAKE set until we require a more recent Boost because 22- # upstream did not ship proper CMake files until 1.82.0.
fanquake commented at 9:27 pm on June 2, 2025:We cannot rely on find_package(Boost …) to work properly without Boost_NO_BOOST_CMAKE set until we require a more recent Boost because upstream did not ship proper CMake files until 1.82.0.
We still support Boost
1.73
+, and older verisons of CMake. Why is this ok to remove now?
hebasto commented at 10:43 pm on June 2, 2025:IIRC, this comment was about “proper CMake files” shipped with source archives.
For example, Ubuntu 22.04 ships Boost 1.74 with package configuration files:
0/usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake 1/usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfigVersion.cmake 2/usr/lib/x86_64-linux-gnu/cmake/BoostDetectToolset-1.74.0.cmake 3/usr/lib/x86_64-linux-gnu/cmake/boost_headers-1.74.0/boost_headers-config-version.cmake 4/usr/lib/x86_64-linux-gnu/cmake/boost_headers-1.74.0/boost_headers-config.cmake
fanquake commented at 7:13 am on June 3, 2025: memberhttps://github.com/bitcoin/bitcoin/actions/runs/15402950316/job/43339643754?pr=32667#step:8:1505:
0-- Looking for C++ include boost/test/included/unit_test.hpp 1-- Looking for C++ include boost/test/included/unit_test.hpp - not found 2CMake Error at cmake/module/AddBoostIfNeeded.cmake:65 (message): 3 Building test_bitcoin executable requested but 4 boost/test/included/unit_test.hpp header not available. 5Call Stack (most recent call first): 6 CMakeLists.txt:413 (add_boost_if_needed) 7 8 9-- Configuring incomplete, errors occurred!
hebasto force-pushed on Jun 3, 2025hebasto force-pushed on Jun 25, 2025hebasto force-pushed on Jun 26, 2025hebasto marked this as ready for review on Jun 26, 2025fanquake commented at 1:23 pm on June 26, 2025: memberhebasto commented at 1:39 pm on June 26, 2025: memberFWIW, I successfully built 639592548eeb4722c7655001d70a5f17bfda2a56 on Ubuntu 22.04 with the system-provided Boost 1.74.0.purpleKarrot commented at 1:40 pm on June 26, 2025: contributorACK 639592548eeb4722c7655001d70a5f17bfda2a56fanquake referenced this in commit 67ea4b9994 on Jun 26, 2025DrahtBot added the label Needs rebase on Jun 26, 2025hebasto force-pushed on Jun 26, 2025build: Find Boost in config mode
The `FindBoost` module has been removed by policy CMP0167.
hebasto force-pushed on Jun 26, 2025hebasto commented at 3:50 pm on June 26, 2025: memberAddedEXACT
keyword tofind_package(boost_included_unit_test_framework ...)
command when using vcpkg (on Windows).DrahtBot removed the label Needs rebase on Jun 26, 2025fanquake commented at 12:48 pm on June 27, 2025: member@purpleKarrot want to take another look here?purpleKarrot commented at 12:52 pm on June 27, 2025: contributorACK 14653b869b91f8013656099c9eb23b3518b8e53efanquake commented at 1:49 pm on June 27, 2025: memberGuix Build:
0f5e794c539bcf8260fe68be5893004f3a8f7aacbaba794704116b0fc38dd5813 guix-build-14653b869b91/output/aarch64-linux-gnu/SHA256SUMS.part 1a701102c9ae49f32c780241a0dbfe16589213cbb43d7c48d8ca35de0c9032c2f guix-build-14653b869b91/output/aarch64-linux-gnu/bitcoin-14653b869b91-aarch64-linux-gnu-debug.tar.gz 2e0f184484a32b5a00c8034a3cb3985e21abf6df342602e6ad4cd3063ccd12f2f guix-build-14653b869b91/output/aarch64-linux-gnu/bitcoin-14653b869b91-aarch64-linux-gnu.tar.gz 34ef01b549490fff7025047463ed15db43e274586b36f872efae0ccbfa2b12d2c guix-build-14653b869b91/output/arm-linux-gnueabihf/SHA256SUMS.part 4d90daed24f3f09e9a2a04dc7b5f307d2142a47d26d0138836109ce654869b724 guix-build-14653b869b91/output/arm-linux-gnueabihf/bitcoin-14653b869b91-arm-linux-gnueabihf-debug.tar.gz 5687b14559afa008ea2742833e2fd70cd5674e09d2293c2236b51d16021212487 guix-build-14653b869b91/output/arm-linux-gnueabihf/bitcoin-14653b869b91-arm-linux-gnueabihf.tar.gz 65b4645bb93c812404876dd1dbcc430faedbae74dc03bcf8324542ce7cd458b7c guix-build-14653b869b91/output/arm64-apple-darwin/SHA256SUMS.part 76ed6ef52b5069c89a7e4f7f34f8e55788a79777c6778ff08c58574b1268ddd2d guix-build-14653b869b91/output/arm64-apple-darwin/bitcoin-14653b869b91-arm64-apple-darwin-codesigning.tar.gz 8e71b1acbedeaea13d8c71f3c359c6aaaf21bb588e97e2c5c739dfa5bfbbbb397 guix-build-14653b869b91/output/arm64-apple-darwin/bitcoin-14653b869b91-arm64-apple-darwin-unsigned.tar.gz 97448fc2b8bf53bbc2f11595b3e41976e2677550dc3d670d412ddc5b46b3651e0 guix-build-14653b869b91/output/arm64-apple-darwin/bitcoin-14653b869b91-arm64-apple-darwin-unsigned.zip 10de249d368f23f25f1be9e99352d20c1fbabfdc92ac39c21743935520b0ba3123 guix-build-14653b869b91/output/dist-archive/bitcoin-14653b869b91.tar.gz 11cfbb3d9a51c4d86f573cbd4363146002fe7de9cbfa59f73c93abfa5212e9dbe5 guix-build-14653b869b91/output/powerpc64-linux-gnu/SHA256SUMS.part 126af8e92d59c188232512bd173b8e07ce4caac71f9576012555f5f41ffe242d3b guix-build-14653b869b91/output/powerpc64-linux-gnu/bitcoin-14653b869b91-powerpc64-linux-gnu-debug.tar.gz 1353917af857dd5bb8acd6ef79f7125edf83d53010d8360342f62a0f69e8f2930a guix-build-14653b869b91/output/powerpc64-linux-gnu/bitcoin-14653b869b91-powerpc64-linux-gnu.tar.gz 1452736ccd03732222992ddd693a308dc690bbca3c33b3b8504779b8b59c99fe8c guix-build-14653b869b91/output/riscv64-linux-gnu/SHA256SUMS.part 15a6d82ab0916bb87139d9a08f36cd28687dbfd0bb9f6d6b2b89b9ac9eb0c03072 guix-build-14653b869b91/output/riscv64-linux-gnu/bitcoin-14653b869b91-riscv64-linux-gnu-debug.tar.gz 162fa63d0694b670c871c0a95e811182538e46184dcaa35858509bf40f726ecbdc guix-build-14653b869b91/output/riscv64-linux-gnu/bitcoin-14653b869b91-riscv64-linux-gnu.tar.gz 17b6aece44a64862f5d0fafb372511d358db14b35b918484775febf27bb160e8cb guix-build-14653b869b91/output/x86_64-apple-darwin/SHA256SUMS.part 1847641645fddf599e89fd787580661d9cb7ee3acbad93b94bcd928c5974c73467 guix-build-14653b869b91/output/x86_64-apple-darwin/bitcoin-14653b869b91-x86_64-apple-darwin-codesigning.tar.gz 19119b344ffc7f4d8edbfec0a3fcc28d73dece9d3803d91d68a3929d840433d403 guix-build-14653b869b91/output/x86_64-apple-darwin/bitcoin-14653b869b91-x86_64-apple-darwin-unsigned.tar.gz 20116fde892e44d328ffe8b9534cd659211742ea51af4a81645700f58bad361d64 guix-build-14653b869b91/output/x86_64-apple-darwin/bitcoin-14653b869b91-x86_64-apple-darwin-unsigned.zip 21b3ef90a436df16343dc3a6985ec9ad10e7458e07891d1b56bf0d68f0edca1890 guix-build-14653b869b91/output/x86_64-linux-gnu/SHA256SUMS.part 227dce046ef31de3780a4233e408c8ad57c7d64746c0d389617e5b30bc1de2df81 guix-build-14653b869b91/output/x86_64-linux-gnu/bitcoin-14653b869b91-x86_64-linux-gnu-debug.tar.gz 2327c566afbbe75dd37417806aedfef2337925fa07a77fe580429f751b90705bf8 guix-build-14653b869b91/output/x86_64-linux-gnu/bitcoin-14653b869b91-x86_64-linux-gnu.tar.gz 24a133c45483bc5a2ff986c6f130b5c652a13f4f259029e76fd8387c18cb7a2158 guix-build-14653b869b91/output/x86_64-w64-mingw32/SHA256SUMS.part 25e0090c32bd622283f1ad7eab7dcef9b0423ec768cac9173647eeebe928c8fae2 guix-build-14653b869b91/output/x86_64-w64-mingw32/bitcoin-14653b869b91-win64-codesigning.tar.gz 262c289a13dceccdfdfb4a9d16cfba9bb46c6bf62134332431ec4288d01b3510a0 guix-build-14653b869b91/output/x86_64-w64-mingw32/bitcoin-14653b869b91-win64-debug.zip 2786ddc18dce2aa572c3ab664b32efe353a80cb1dca6a0ace42a987bb6121e02c2 guix-build-14653b869b91/output/x86_64-w64-mingw32/bitcoin-14653b869b91-win64-setup-unsigned.exe 282fae9489aceaf36ac6d3851c561e8f5c5b5c56b9334b352825d913176ff773b7 guix-build-14653b869b91/output/x86_64-w64-mingw32/bitcoin-14653b869b91-win64-unsigned.zip
fanquake merged this on Jun 27, 2025fanquake closed this on Jun 27, 2025
hebasto deleted the branch on Jun 27, 2025
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: 2025-07-07 18:13 UTC
More mirrored repositories can be found on mirror.b10c.me