diff mbox series

[meta-oe,3/3] include-what-you-use: Move the recipe here from meta-clang

Message ID 20250716064626.339595-3-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,1/3] bpftrace,bcc: Migrate recipe from meta-clang to meta-oe | expand

Commit Message

Khem Raj July 16, 2025, 6:46 a.m. UTC
This recipe needs clang which is now in oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../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 mbox series

Patch

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"