Skip to content

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

Merged
fanquake merged 4 commits into
bitcoin:masterfrom
fanquake:clang_tidy_todo
Mar 25, 2024
Merged

fanquake merged 4 commits into
bitcoin:masterfrom
fanquake:clang_tidy_todo

Conversation

@fanquake

@fanquake fanquake commented Mar 21, 2024 •

Copy link
Copy Markdown
Member

See hebasto#123 for the minimum version bump.

@DrahtBot

DrahtBot commented Mar 21, 2024 •

Copy link
Copy Markdown
Contributor

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

hebasto commented Mar 21, 2024

Copy link
Copy Markdown
Member

Concept ACK, obviously :)

Matches hebasto#123.
This also also dev/ci only code.

@hebasto hebasto left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ACK cf9857883d65730060e8d74cd4f1afe9dd69afaa.

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
Copy Markdown
Member Author

UPD: ... and LibEdit?

Added LibXml2 while we are at it.

@hebasto

hebasto commented Mar 22, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

Maybe also disable unneeded C compiler check:

That works, but only after also disabling FFI.

@hebasto hebasto left a comment

Copy link
Copy Markdown
Member

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 requested a review from sedited March 22, 2024 16:38
@fanquake
fanquake merged commit 53f4607 into bitcoin:master Mar 25, 2024
@fanquake
fanquake deleted the clang_tidy_todo branch March 25, 2024 12:56
@bitcoin bitcoin locked and limited conversation to collaborators Mar 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants