@xeruf The llvm
/clang
packages in official Arch Linux repositories were recently updated to version 16, so you don't have to compile it yourself. Of course, if you use a different distribution, you need to ask elsewhere.
Search Criteria
Package Details: include-what-you-use 0.23-1
Package Actions
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: | 45 |
Popularity: | 0.111973 |
First Submitted: | 2011-12-03 05:58 (UTC) |
Last Updated: | 2025-01-13 13:34 (UTC) |
Dependencies (10)
- clang (llvm-gitAUR, clang-minimal-gitAUR, clang17-binAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR)
- llvm-libs (llvm-libs-gitAUR)
- python3 (python)
- cmake (cmake-gitAUR) (make)
- llvm (llvm-gitAUR, llvm-minimal-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
Required by (1)
Sources (1)
lahwaacz commented on 2023-09-05 16:11 (UTC) (edited on 2023-09-05 16:11 (UTC) by lahwaacz)
xeruf commented on 2023-09-05 11:07 (UTC) (edited on 2023-09-05 11:08 (UTC) by xeruf)
This package, supposedly installed for compilation of some other package to make it smaller, was giving me headaches due to its clang and llvm >= 16 dependency which resulted in hours of compilation of llvm-git which never finished. Removed it for now.
Is there no way to make these requirements less strict?
flaviut commented on 2023-08-29 14:27 (UTC)
Update to 0.20 with clang v16:
diff --git a/PKGBUILD b/PKGBUILD
index 35a458b..4ce4d1b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,16 @@
# Old Maintainer: Manuel Mendez <mmendez534@gmail.com>
pkgname=include-what-you-use
-pkgver=0.19
+pkgver=0.20
pkgrel=1
-_clang_major=15
+_clang_major=16
_clang_minor=0
_clang_ver="${_clang_major}.${_clang_minor}"
pkgdesc="A tool for use with clang to analyze #includes in C and C++ source files"
url="http://include-what-you-use.org"
license=('LLVM Release License')
source=("https://github.com/${pkgname}/${pkgname}/archive/${pkgver}.tar.gz")
-sha512sums=('0847ae898696b51540ab9f5715e69bae67db42409d60205227d543ba6597b12cc2ea5bf68a3315c31f22e7186e05c06a86f5ae5b893c23bfe4cd9ef6f06ccddc')
+sha512sums=('77195dc36338a37d3397c78701d81e52fc1c6a3441979fa016f154b0fc860598959e6430e78a51bbf9049f6b2bb62956e50f5531ac5c94c6554e2383ace540f5')
arch=('x86_64')
_min="${_clang_ver}"
_max=$((_clang_major + 1)).0
Spixmaster commented on 2023-08-29 12:19 (UTC)
The package clang
was just updated to version 16.
Score_Under commented on 2023-01-20 16:17 (UTC) (edited on 2023-01-20 16:18 (UTC) by Score_Under)
Arch has updated to clang 15 now
pattop commented on 2022-07-06 01:05 (UTC)
@jetm might I suggest reinstating the pinned and top message?
IMHO it still makes sense to set the out of date flag even if the clang dependency is not yet up to date.
MarsSeed commented on 2022-07-06 01:04 (UTC) (edited on 2022-07-06 01:05 (UTC) by MarsSeed)
There is no pinned message and has not been such at least since I first saw this package a few months ago.
jetm commented on 2022-07-06 00:56 (UTC)
@pattop v18 depends on clang v14, and Arch Linux recently upgraded it. The out-of-date flag was wrong because the submitter didn't know about that requirement. In this package, the out-of-date flag is constantly submitted because the submitters don't know the iwyu versions have a solid dependency on specific clang versions. The latter takes time to update in Arch Linux. I stopped removing the out-of-date flag because they continue doing it, even with a pinned and top message.
pattop commented on 2022-07-06 00:09 (UTC)
@jetm it was flagged out of date almost 3 months ago by @MarsSeed as v0.18 was released. That's why I submitted an orphan request.
jetm commented on 2022-07-06 00:00 (UTC) (edited on 2022-07-06 00:05 (UTC) by jetm)
@pattop clang was updated very recently to v14 in Arch Linux. This package is not an orphan. I will update it this week.
Pinned Comments
jetm commented on 2023-11-10 00:05 (UTC) (edited on 2024-11-13 11:49 (UTC) by jetm)
IWYU v0.23
is out, butclang v19
has not been released in Arch Linux. Please don't flag out-of-date until the new clang version is available. Thanks.