The official clang package has been bumped to version 14. Can you update to 0.18v?
Search Criteria
Package Details: include-what-you-use 0.21-2
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: | 41 |
Popularity: | 1.78 |
First Submitted: | 2011-12-03 05:58 (UTC) |
Last Updated: | 2024-03-26 21:39 (UTC) |
Dependencies (10)
- clang (llvm-rocm-gitAUR, llvm-gitAUR, clang-minimal-gitAUR)
- gcc-libs (gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-gitAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- llvm-libs (llvm-libs-rocm-gitAUR, llvm-libs-gitAUR)
- python3 (python)
- cmake (cmake-gitAUR) (make)
- llvm (llvm-rocm-gitAUR, llvm-gitAUR, llvm-minimal-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR) (make)
Required by (0)
Sources (1)
kernelisstrong commented on 2022-07-03 12:25 (UTC)
qark commented on 2022-07-02 20:38 (UTC)
May I suggest simplifying PKGBUILD
by using -B build
, -DCMAKE_INSTALL_PREFIX=/usr
and calling cmake --build
and cmake --install
instead of hardcoded ninja
counterparts? See https://wiki.archlinux.org/title/CMake_package_guidelines#Template.
jetm commented on 2021-11-14 17:05 (UTC) (edited on 2021-12-06 20:26 (UTC) by jetm)
iwyu 0.17 is released for Clang v13, but I am getting a build error:
make: make: Permission denied
make: *** [Makefile:146: all] Error 127
I did open a case in upstream: https://github.com/include-what-you-use/include-what-you-use/issues/979
Edit: Package updated. As a workaround, I changed CMake to generate Ninja. Maybe is a CMake bug
Leon0402 commented on 2021-11-14 16:26 (UTC)
Clang 13 is out
Nestor_013 commented on 2021-06-10 11:41 (UTC) (edited on 2021-06-10 11:54 (UTC) by Nestor_013)
For the impatient ones...
diff --git a/PKGBUILD b/PKGBUILD
index 862a5c9..e927299 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,16 +1,16 @@
# Maintainer: Manuel Mendez <mmendez534@gmail.com>
pkgname=include-what-you-use
-pkgver=0.15
+pkgver=0.16
pkgrel=1
-_clang_major=11
+_clang_major=12
_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=('db15efa9b92015322e9a188be6cf16a5c6fd71271c94fde45245676f2a8f6ffe4c7837e3b0bb5f9be6cbe78aab245129816a3b046c44c261a2b7ab5c3a9ea7b9')
+sha512sums=('2923e18c40ddc5c03458b896d991adde03d489c6645ecc3cc4f69a508e323534afdef3233943e99533ffc21c64a10a8a5c635dc4797a61edf09d0a7a918a3cd5')
arch=('x86_64')
_min="${_clang_ver}"
_max=$((_clang_major+1)).0
kernelisstrong commented on 2021-06-07 10:59 (UTC)
Wait for the maintainer to bump the clang dependency.
skunk commented on 2020-11-16 18:53 (UTC)
I was able to build the tool with the latest master and clang 11 as suggested here https://github.com/include-what-you-use/include-what-you-use/issues/850#issuecomment-727545771 with this PKGBUILD by just bumping the _max
to _clang_major+2
.
ruy16109 commented on 2020-04-25 18:52 (UTC)
Clang 10 is out, so this package is now out of date. Hopefully the maintainer updates the package soon.
afontenot commented on 2020-03-29 11:54 (UTC)
Checking the git history, the Python 2 requirement has been baked in since the initial commit. As best I can determine, the iwyu codebase has since been updated and is expected to be entirely Python 3 clean.
Could you try removing the sed lines and python2 dependency from this PKGBUILD and see if everything just works for you? (I built it myself and it seems fine.) We can report any problems we find with the Python 3 support upstream.
woowapdabug commented on 2019-10-21 16:32 (UTC)
Looking forward for the update, thank you :)
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.