mirror of
https://github.com/bitcoin/bitcoin
synced 2026-12-04 10:47:36 +00:00
cmake: Always disable install_name_tool search in macOS cross-builds #37008
No reviewers
Labels
No labels
Android
Backport
Block storage
Brainstorming
Bug
Build system
CI failed
Consensus
Data corruption
Descriptors
Docs
DrahtBot Guix build requested
Feature
Fuzzing
GUI
Good First Review
IPC
Insufficient Review
Kernel
Linux/Unix
Mempool
Mining
Needs Backport (31.x)
Needs Backport (32.x)
Needs Benchmark
Needs Conceptual Review
Needs backport (30.x)
Needs rebase
Needs release note
Net
P2P
PSBT
Privacy
Private Broadcast
Questions and Help
RPC/REST/ZMQ
Refactoring
Resource usage
Review club
Scripts and tools
Settings
TX fees and policy
Tests
Tracking Issue
UTXO Db and Indexes
Up for grabs
Upstream
Utils/log/libs
Validation
Waiting for author
Wallet
Windows
good first issue
interfaces
macOS
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin/bitcoin!37008
Loading…
Reference in a new issue
No description provided.
Delete branch "261129-install-name-tool"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
It was expected that CMake >= 4.2 would handle LLVM's
install_name_toolbinary properly. However, CMake MR 10955 fixed the search only for the unversioned binary, which is not always available. For example, thellvmpackage on Debian Trixie installs only/usr/bin/llvm-install-name-tool-19, but not the unversioned/usr/bin/llvm-install-name-tool, which results in a failure when configuring a cross-build for macOS.This PR applies the workaround regardless of the CMake version.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
External sites
Reviews
See the guideline and AI policy for information on the review process.
If your review is incorrectly listed, please copy-paste
<!--meta-tag:bot-skip-->into the comment that the bot should ignore.I found no actionable issues in this static review.
Reviewed:
0fb48fe30ed6· Review report · Previous reportspermalink
I don't think we need to add even more explanation and more links. Could just be something like:
? and we can clean all this up once CMake fixes it properly, looks like that might be after
4.6.0?Concept ACK
Thanks! The explanatory comment has been reworded.
Guix Build:
ACK
0fb48fe30eBackported this to
32.xin #37052.