Clang v11 is out, but the project upstream is not updated yet. I will update after upstream project update. See:
https://github.com/include-what-you-use/include-what-you-use/issues/850
Git Clone URL: | https://aur.archlinux.org/include-what-you-use.git (read-only, click to copy) |
---|---|
Package Base: | include-what-you-use |
Description: | A tool for use with clang to analyze #includes in C and C++ source files |
Upstream URL: | https://include-what-you-use.org |
Keywords: | c c++ format header include iwyu |
Licenses: | LicenseRef-LLVM-Release-License |
Submitter: | Mindless |
Maintainer: | sebschrader (jetm) |
Last Packager: | jetm |
Votes: | 41 |
Popularity: | 1.86 |
First Submitted: | 2011-12-03 05:58 (UTC) |
Last Updated: | 2024-03-26 21:39 (UTC) |
Clang v11 is out, but the project upstream is not updated yet. I will update after upstream project update. See:
https://github.com/include-what-you-use/include-what-you-use/issues/850
@a216: Done. Thanks!
This project doesn't seem to show up in a search for "iwyu" - could this term be added as a keyword?
@Aetf: Clang v8 is out, but project upstream is not updated yet. I will update after upstream project update. Removing flag.
Clang v8 is out...
Please update to use the most recent clang v7.
And please replace patch -Np1 -i "../../fix-clang-6.patch"
with patch -Np1 -i "${srcdir}/fix-clang-6.patch"
as you can not rely on a relative position for source files.
The PKGBUILD is currently broken. Please add fix-clang-6.patch to the sources list to fix it.
@Parkotron Ran into the same error building by hand from github (tag clang_6.0). Cherry-picking more commits from master solves the issue. I suspect it's due to https://github.com/include-what-you-use/include-what-you-use/commit/0003739b52e0bcefa574ed6dbc5dc7cf78da3cb4. See also https://github.com/include-what-you-use/include-what-you-use/issues/499
I just attempted to modify the PKGBUILD for the recently released v0.10 (the Clang 6.0 version). After just changing the versions and hashes, everything build and installed without issue. Unfortunately, the tool fails to run, yielding
LLVM ERROR: inconsistency in registered CommandLine options
: CommandLine Error: Option 'asan-instrument-assembly' registered more than once!
Apparently this is due to linking against LLVM both statically and dynamically, but at this point I'm in over my head. Hopefully smarter folks will to take a look at packaging 0.10 soon.
Pinned Comments
jetm commented on 2023-11-10 00:05 (UTC) (edited on 2024-03-11 22:41 (UTC) by jetm)
IWYU v0.22
is out, butclang v18
has not been released in Arch Linux. Please don't flag out-of-date until clang v17 is available. Thanks.