20 Commits

Author SHA1 Message Date
jca
cdcba0f6b5 Drop powerpc-specific patch now that llvm provides all backends on powerpc
from Brad, ok jsg@ (maintainer)
2019-12-05 15:51:55 +00:00
jca
cbb02a6e7f Update to llvm-8.0.1
Similar diff from Brad; bulk build by ajacoutot@
2019-09-08 10:40:39 +00:00
jca
2175edd1ba Let include-what-you-use build on powerpc.
powerpc is the only platform where llvm isn't built with all supported
targets (only the powerpc backend is enabled).  So include-what-you-use
can't call LLVMInitializeX86*() there.  Maybe llvm should also ship the
X86 backend on powerpc, as suggested by jsg@, but this is not trivial.
Tests by cwen@, ok cwen@ jsg@ (maintainer)
2019-07-06 16:16:27 +00:00
jca
b2cecd12e4 Update to include-what-you-use-0.12, to unbreak with llvm-8.0.0 2019-07-06 15:07:55 +00:00
kn
35b2d64ad8 Ship docs, use Python 3, enable tests, drop libexecinfo dependency
libexecinfo is not used at all and Python is merely a RUN_DEPENDS.

Use TLS and derive PKGNAME from DISTNAME while here.

Documentation input ingo
WANTLIB help and OK sthen
2019-06-17 21:33:45 +00:00
jsg
2c29a5b77e Add a RUN_DEPENDS on devel/llvm as include-what-you-use links
libLLVM and drop no longer required IWYU_LLVM_ROOT_PATH env var.
From Caspar Schutijser.  sthen@ noted this can't be a LIB_DEPENDS
as libLLVM is not installed as a major.minor library.
2019-02-16 12:06:23 +00:00
jca
21b863839c Update to llvm-7.0.1 (and include-what-you-use-0.11)
All the work done by Brad except for some fixes from base by mortimer@
and patrick@

Tests: amd64 Brad, jsg@ and me, i386: Brad, mips64: visa@, sparc64 me.
No tests on powerpc but a test build with only the PowerPC backend
packages on amd64.
2019-01-28 06:27:28 +00:00
jsg
779603e68b update to include-what-you-use 0.10
from Brad
2018-11-02 08:50:13 +00:00
jsg
8e056f7796 include-what-you-use now uses the FindBacktrace cmake module which
results in an undeclared dependency on libexecinfo.  Reported by espie@
2018-05-22 07:34:09 +00:00
ajacoutot
8c4f93277d Adapt to new LLVM.
from Brad
2018-04-07 14:56:24 +00:00
jsg
0a20bdc5f7 update to include-what-you-use 0.9
from Brad
2018-03-17 01:31:21 +00:00
ajacoutot
75388d2e9b Bump after llvm update (static libs linked into the binary).
from Brad
2017-09-08 11:53:41 +00:00
ajacoutot
ea4a62fb6b Fix for llvm>=5.0.0rc4 and make use of COMPILER.
from Brad
2017-09-01 06:41:56 +00:00
jsg
dceb9f7e57 update to include-what-you-use 0.8
from Brad
2017-08-13 10:15:23 +00:00
ajacoutot
4de213b41d Bump LLVM version.
from Brad
2017-03-14 17:30:30 +00:00
ajacoutot
4f4ba634d7 Fix with llvm>=4.0.0rc2.
from Brad
2017-02-10 09:39:21 +00:00
jsg
41bfda032e update to include-what-you-use 0.7
from Brad Smith
2017-01-01 06:58:37 +00:00
ajacoutot
0a01921210 Fix iwyu to build with llvm 3.9.
"should be good" jsg@
from Brad
2016-10-07 08:57:13 +00:00
jsg
84bb3cece2 update to 0.6 for llvm 3.8 compatibility
from Brad
2016-05-15 00:03:43 +00:00
jsg
418b0bce6c Import include-what-you-use. A tool that uses LLVM libraries to
determine which headers should be included based on symbols used.

Can be used via
make -k CC=/usr/local/bin/include-what-you-use

feedback and ok jca@
2016-04-01 01:51:28 +00:00