From 15b7cfc023095771741b43359afe628ebd028237 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 15 Jul 2025 12:42:05 -0700 Subject: include-what-you-use: Move the recipe here from meta-clang This recipe needs clang which is now in oe-core Signed-off-by: Khem Raj --- .../include-what-you-use_0.23.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-oe/recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb diff --git a/meta-oe/recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb b/meta-oe/recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb new file mode 100644 index 0000000000..7c4392fdd1 --- /dev/null +++ b/meta-oe/recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb @@ -0,0 +1,24 @@ +SUMMARY = "Include What You Use (IWYU) - Clang based checker for C/C++ header includes" +DESCRIPTION = "For every symbol (type, function, variable, or macro) that you \ + use in foo.cc (or foo.cpp), either foo.cc or foo.h should \ + include a .h file that exports the declaration of that symbol." +HOMEPAGE = "https://include-what-you-use.org" +BUGTRACKER = "https://github.com/include-what-you-use/include-what-you-use/issues" +LICENSE = "NCSA" +LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=3bb66a14534286912cd6f26649b5c60a \ + file://iwyu-check-license-header.py;md5=7bdb749831163fbe9232b3cb7186116f" + +DEPENDS = "clang" + +SRC_URI = "git://github.com/include-what-you-use/include-what-you-use.git;protocol=https;branch=master" +SRCREV = "fa1094c0b3848f82244778bc6153cc84f8a890f6" + +PV .= "+git" + +inherit cmake python3native + +EXTRA_OECMAKE = "-DIWYU_RESOURCE_RELATIVE_TO=iwyu" + +FILES:${PN} += "${datadir}/${BPN}" + +BBCLASSEXTEND = "nativesdk" -- cgit v1.2.3-54-g00ecf