include-what-you-use: revision bump (llvm 21)#246246
Merged
BrewTestBot merged 2 commits intoHomebrew:mainfrom Sep 30, 2025
Merged
include-what-you-use: revision bump (llvm 21)#246246BrewTestBot merged 2 commits intoHomebrew:mainfrom
BrewTestBot merged 2 commits intoHomebrew:mainfrom
Conversation
6 tasks
chenrui333
approved these changes
Sep 30, 2025
Contributor
|
🤖 An automated task has requested bottles to be published to this PR. Caution Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch. |
Member
|
We likely want to tune Haven't tested but something like: resource_dir = Pathname(Utils.safe_popen_read(llvm.opt_bin/"clang", "-print-resource-dir").chomp)
resource_dir = resource_dir.sub(llvm.prefix.realpath, llvm.opt_prefix)
...
%W[
-DIWYU_RESOURCE_RELATIVE_TO=iwyu
-DIWYU_RESOURCE_DIR=#{resource_dir.relative_path_from(bin)}
]The problem with default
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where<formula>is the name of the formula you're submitting?brew test <formula>, where<formula>is the name of the formula you're submitting?brew audit --strict <formula>(after doingHOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it passbrew audit --new <formula>?Test failure seen with llvm 21.1.2 in #245468
Fixes include-what-you-use/include-what-you-use#1825