diff options
author | Christian Eggers <ceggers@arri.de> | 2024-07-19 22:48:49 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-07-24 21:43:18 -0700 |
commit | f53a67a5ab58cc2c719df443a50cc7bdb4b87d35 (patch) | |
tree | a67be3d7c8d99628f0fffcb2c0b7c9a640db7487 | |
parent | 9b1ec46f24915f139520f6cfa5862e6c47089421 (diff) | |
download | meta-clang-f53a67a5ab58cc2c719df443a50cc7bdb4b87d35.tar.gz |
include-what-you-use: new recipe
Clang based checker for C/C++ header includes. "Experimental software,
as of June 2024.", but definitely very useful.
Signed-off-by: Christian Eggers <ceggers@arri.de>
-rw-r--r-- | recipes-devtools/include-what-you-use/include-what-you-use_0.22.bb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes-devtools/include-what-you-use/include-what-you-use_0.22.bb b/recipes-devtools/include-what-you-use/include-what-you-use_0.22.bb new file mode 100644 index 0000000..c2a4009 --- /dev/null +++ b/recipes-devtools/include-what-you-use/include-what-you-use_0.22.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | SUMMARY = "Include What You Use (IWYU) - Clang based checker for C/C++ header includes" | ||
2 | DESCRIPTION = "For every symbol (type, function, variable, or macro) that you \ | ||
3 | use in foo.cc (or foo.cpp), either foo.cc or foo.h should \ | ||
4 | include a .h file that exports the declaration of that symbol." | ||
5 | HOMEPAGE = "https://include-what-you-use.org" | ||
6 | BUGTRACKER = "https://github.com/include-what-you-use/include-what-you-use/issues" | ||
7 | LICENSE = "NCSA" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=59d01ad98720f3c50d6a8a0ef3108c88 \ | ||
9 | file://iwyu-check-license-header.py;md5=7bdb749831163fbe9232b3cb7186116f" | ||
10 | |||
11 | DEPENDS = "clang" | ||
12 | |||
13 | SRC_URI = "git://github.com/include-what-you-use/include-what-you-use.git;protocol=https;branch=clang_18" | ||
14 | SRCREV = "377eaef70cdda47368939f4d9beabfabe3f628f0" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit cmake python3native | ||
19 | |||
20 | FILES:${PN} += "${datadir}/${BPN}" | ||
21 | |||
22 | BBCLASSEXTEND = "nativesdk" | ||