Package Details: include-what-you-use 0.23-1

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)

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, but clang v19 has not been released in Arch Linux. Please don't flag out-of-date until the new clang version is available. Thanks.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

pattop commented on 2022-07-05 22:35 (UTC)

This was flagged out of date on the 9th of April (~3 months ago) and the current maintainer has not updated it. I've submitted an orphan request.

zorbik26 commented on 2022-07-05 20:52 (UTC)

Diff for support with clang v14.0

diff --git a/PKGBUILD b/PKGBUILD
index 057ae3c..9226518 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,16 @@
 # Old Maintainer: Manuel Mendez <mmendez534@gmail.com>

 pkgname=include-what-you-use
-pkgver=0.17
+pkgver=0.18
 pkgrel=1
-_clang_major=13
+_clang_major=14
 _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=('2439e3dd37163d3953fc1e45614fb4325be093a162f25d0f45fa8126b2313942a7c8d45ed12454dfbfeb4cb4fcf2f4e3eebdc0ec5da14dad23533f7a0bf58290')
+sha512sums=('bfce2ff00b572961dcba83519959cbedaf1c2ec4bd4e0a2b8b6d12f440887ee64a1c9970fa1a80c7517898ce936219436ab709893cfed92891c5c2aa5d76770e')
 arch=('x86_64')
 _min="${_clang_ver}"
 _max=$((_clang_major + 1)).0

carlosal1015 commented on 2022-07-05 16:31 (UTC)

Patch is not required now for clang 14.0.6.

qark commented on 2022-07-04 15:22 (UTC) (edited on 2022-07-04 15:34 (UTC) by qark)

Patch for 0.18 with mentioned simplification: https://pastebin.com/nkC5xCZM Upd. fixed tabs in patch.

jhossbach commented on 2022-07-04 15:17 (UTC)

Same question @sebschrader: would you mind updating the version? Currently, this leads to a dependency conflict with the newest arch repo version of clang (v14.0.6-1).

kernelisstrong commented on 2022-07-03 12:25 (UTC)

The official clang package has been bumped to version 14. Can you update to 0.18v?

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