This PR:
- addresses #29165 (review)
- fixes https://github.com/bitcoin/bitcoin/issues/29174
-Xclang -internal-isystem
option
#29195
This PR:
LLVM Clang >=16.0 and Apple Clang >=15.0 do not recognize
`-Xclang -internal-isystem/usr/local/include` anymore.
For example, see: https://github.com/llvm/llvm-project/commit/cbbe1d44546db52c71c9a2b18f85b87ae82df9e7
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For detailed information about the code coverage, see the test coverage report.
See the guideline for information on the review process.
Type | Reviewers |
---|---|
ACK | fanquake |
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.
Reviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.
https://github.com/bitcoin/bitcoin/actions/runs/7437962301/job/20236177232:
0checking whether C++ preprocessor accepts -Xclang -internal-isystem -Xclang /usr/local/include/... yes
pull title should be “build: Fix -Xclang -internal-isystem option”? Otherwise lgtm
Done.
The same Xcode version is used for the release binaries.
Can probably drop this, or be more specific, because we don’t use Xcode to build release binaries (only the SDK, which is versioned differently).
The same Xcode version is used for the release binaries.
Can probably drop this, or be more specific, because we don’t use Xcode to build release binaries (only the SDK, which is versioned differently).
Dropped.
ACK d742be3d3f5d5063d7160f72422bce2fec953f38. The same as what was done in #27328.
For example, see: https://github.com/llvm/llvm-project/commit/cbbe1d44546db52c71c9a2b18f85b87ae82df9e7
I guess this is meant to be an example of someone else using -Xclang
? However this commit is from > 10 years ago, and isn’t related to, or an explanation for the recent change in Clang behaviour.