Search Criteria
Package Details: include-what-you-use 0.15-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: | http://include-what-you-use.org |
Keywords: | c c++ format header include iwyu |
Licenses: | |
Submitter: | Mindless |
Maintainer: | sebschrader (jetm) |
Last Packager: | jetm |
Votes: | 27 |
Popularity: | 0.111730 |
First Submitted: | 2011-12-03 05:58 |
Last Updated: | 2020-11-21 21:07 |
Dependencies (8)
- python2
- clang<12.0 (clang-pypy-stm, clang39, clang38, llvm-tce, clang8, llvm-minimal-git, llvm-toolchain-nightly-bin, llvm-git)
- clang>=11.0 (clang-pypy-stm, clang39, clang38, llvm-tce, clang8, llvm-minimal-git, llvm-toolchain-nightly-bin, llvm-git)
- cmake (cmake-git) (make)
- clang<12.0 (clang-pypy-stm, clang39, clang38, llvm-tce, clang8, llvm-minimal-git, llvm-toolchain-nightly-bin, llvm-git) (make)
- llvm<12.0 (llvm-pypy-stm, llvm39, llvm-asserts, llvm38, llvm-tce, llvm11, llvm11-libs, llvm11-ocaml, llvm-minimal-git, llvm8, llvm-toolchain-nightly-bin) (make)
- clang>=11.0 (clang-pypy-stm, clang39, clang38, llvm-tce, clang8, llvm-minimal-git, llvm-toolchain-nightly-bin, llvm-git) (make)
- llvm>=11.0 (llvm-pypy-stm, llvm39, llvm-asserts, llvm38, llvm-tce, llvm11, llvm11-libs, llvm11-ocaml, llvm-minimal-git, llvm8, llvm-toolchain-nightly-bin) (make)
Latest Comments
« First ‹ Previous 1 2 3 4 Next › Last »
tegularius commented on 2016-09-06 21:21
makedepends should include cmake
mmlb commented on 2015-12-28 05:05
@Svenstaro that was by design since the previous version of IWYU is incompatible with 3.7. I just updated to latest released version that works with 3.7.
Svenstaro commented on 2015-09-29 05:42
This conflicts with llvm 3.7.0 in Arch because 3.7 is < 3.7.0.
mmlb commented on 2015-07-23 13:47
@nerzhul, fixed thanks!
nerzhul commented on 2015-07-21 10:08
Please add llvm as a dependancy to fix erikw error
mmlb commented on 2015-06-01 15:31
@erikw I've updated the package
mmlb commented on 2015-05-25 01:14
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
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
@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
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.