From 6a293d7346de300a943c41a853dd0acb3db05c0c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 7 Mar 2025 19:40:21 -0800 Subject: include-what-you-use: Upgrade to 0.23+ release Use IWYU_RESOURCE_RELATIVE_TO=iwyu License-Update: Copyright year incremented [1] [1] https://github.com/include-what-you-use/include-what-you-use/commit/414d6f760caba8068b208d31125409a60930df69 Signed-off-by: Khem Raj --- .../include-what-you-use_0.22.bb | 22 ------------------ .../include-what-you-use_0.23.bb | 26 ++++++++++++++++++++++ 2 files changed, 26 insertions(+), 22 deletions(-) delete mode 100644 recipes-devtools/include-what-you-use/include-what-you-use_0.22.bb create mode 100644 recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb 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 deleted file mode 100644 index 384e8a5..0000000 --- a/recipes-devtools/include-what-you-use/include-what-you-use_0.22.bb +++ /dev/null @@ -1,22 +0,0 @@ -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=59d01ad98720f3c50d6a8a0ef3108c88 \ - 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 = "0ed29a277505735d90f4d8b15e8a90db8d961853" - -S = "${WORKDIR}/git" - -inherit cmake python3native - -FILES:${PN} += "${datadir}/${BPN}" - -BBCLASSEXTEND = "nativesdk" diff --git a/recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb b/recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb new file mode 100644 index 0000000..9ba16b6 --- /dev/null +++ b/recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb @@ -0,0 +1,26 @@ +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" + +S = "${WORKDIR}/git" + +inherit cmake python3native + +EXTRA_OECMAKE = "-DIWYU_RESOURCE_RELATIVE_TO=iwyu" + +FILES:${PN} += "${datadir}/${BPN}" + +BBCLASSEXTEND = "nativesdk" -- cgit v1.2.3-54-g00ecf