@nerzhul, fixed thanks!
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: | 2.01 |
First Submitted: | 2011-12-03 05:58 (UTC) |
Last Updated: | 2024-03-26 21:39 (UTC) |
Dependencies (10)
- clang (clang-gitAUR, 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)
mmlb commented on 2015-07-23 13:47 (UTC)
nerzhul commented on 2015-07-21 10:08 (UTC)
Please add llvm as a dependancy to fix erikw error
mmlb commented on 2015-06-01 15:31 (UTC)
@erikw I've updated the package
mmlb commented on 2015-05-25 01:14 (UTC)
erikw are you using clang 3.6? That's not out yet, see https://code.google.com/p/include-what-you-use/issues/detail?id=185
In the meantime, maybe I should change the PKGBUILD to depend on the exact version of clang.
erikw commented on 2015-05-24 09:26 (UTC)
Compilation errors:
[ 7%] Building CXX object CMakeFiles/include-what-you-use.dir/iwyu.cc.o
In file included from /tmp/yaourt-tmp-erikw/aur-include-what-you-use/src/include-what-you-use/iwyu.cc:103:
In file included from /tmp/yaourt-tmp-erikw/aur-include-what-you-use/src/include-what-you-use/iwyu_ast_util.h:19:
/tmp/yaourt-tmp-erikw/aur-include-what-you-use/src/include-what-you-use/port.h:16:10: fatal error: 'llvm/Support/Compiler.h' file not found
#include "llvm/Support/Compiler.h"
mmlb commented on 2014-12-30 16:27 (UTC)
@xantares, did you take a look at the second script offered? The one that uses the compile_commands.json output? I could still throw in your adaptation, but if the python script works for you that would be a better option than continually hacking cmake "compilers".
xantares commented on 2014-12-29 13:38 (UTC)
hello,
iwyu cannot be used in a cmake project:
https://groups.google.com/forum/#!topic/include-what-you-use/N6441qSN9Og
i adapted the wrapper script proposed as solution, could you include it ?
https://gist.github.com/xantares/811044f4a1d082531f48
then in the install section add this:
# install wrapper for cmake usage
# from https://groups.google.com/forum/#!topic/include-what-you-use/N6441qSN9Og
install -m755 "$srcdir"/iwyu-wrapper "$pkgdir"/usr/bin/iwyu-clang
install -m755 "$srcdir"/iwyu-wrapper "$pkgdir"/usr/bin/iwyu-clang++
xan.
mmlb commented on 2014-09-05 18:15 (UTC)
@bchretien, thanks for the info its updated.
bchretien commented on 2014-08-29 11:39 (UTC)
This can be updated to 3.4: http://include-what-you-use.com/downloads/include-what-you-use-3.4.src.tar.gz
dom0 commented on 2014-05-05 20:47 (UTC)
makedepends should include cmake
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.