Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tidy: remove todo, set minimum CMake to 3.22 #29696

Merged
merged 4 commits into from Mar 25, 2024

Conversation

fanquake
Copy link
Member

@fanquake fanquake commented Mar 21, 2024

See hebasto#123 for the minimum version bump.

@DrahtBot
Copy link
Contributor

DrahtBot commented Mar 21, 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

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

@hebasto
Copy link
Member

hebasto commented Mar 21, 2024

Concept ACK, obviously :)

Matches hebasto#123.
This also also dev/ci only code.
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 cf98578.

It seems, the zstd package might be ignored as well:

set(CMAKE_DISABLE_FIND_PACKAGE_zstd ON)

UPD: ... and LibEdit?

At the same time, also disable searching for CURL, LibEdit, LibXml2,
ZLIB and zstd none of which we use.
@fanquake
Copy link
Member Author

UPD: ... and LibEdit?

Added LibXml2 while we are at it.

@hebasto
Copy link
Member

hebasto commented Mar 22, 2024

Maybe also disable unneeded C compiler check:

--- a/contrib/devtools/bitcoin-tidy/CMakeLists.txt
+++ b/contrib/devtools/bitcoin-tidy/CMakeLists.txt
@@ -1,6 +1,10 @@
 cmake_minimum_required(VERSION 3.9)
 
-project(bitcoin-tidy VERSION 1.0.0 DESCRIPTION "clang-tidy checks for Bitcoin Core")
+project(bitcoin-tidy
+    VERSION 1.0.0
+    DESCRIPTION "clang-tidy checks for Bitcoin Core"
+    LANGUAGES CXX
+)
 
 include(GNUInstallDirs)
 

?

Also requires disabling FFI.
@fanquake
Copy link
Member Author

Maybe also disable unneeded C compiler check:

That works, but only after also disabling FFI.

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.

re-ACK 11ee058.

@fanquake fanquake merged commit 53f4607 into bitcoin:master Mar 25, 2024
16 checks passed
@fanquake fanquake deleted the clang_tidy_todo branch March 25, 2024 12:56
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.

None yet

3 participants