Package Details: include-what-you-use 0.26-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: jetm
Last Packager: jetm
Votes: 48
Popularity: 0.31
First Submitted: 2011-12-03 05:58 (UTC)
Last Updated: 2026-03-23 08:53 (UTC)

Pinned Comments

jetm commented on 2023-11-10 00:05 (UTC) (edited on 2026-03-23 14:18 (UTC) by jetm)

Please, don't flag the package until IWYU and clang releases are matching. IWYU needs a specific clang version and Arch Linux needs time to upgrade the clang package. Thanks.

Latest Comments

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

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.

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