From 3237e56acab832434d30caf36c65fc860e8778f1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 18 Feb 2023 13:54:34 -0800 Subject: castxml: Upgrade to tip of trunk To fix compile with clang16 its needed Signed-off-by: Khem Raj --- recipes-devtools/castxml/castxml_0.4.5.bb | 27 --------------------------- recipes-devtools/castxml/castxml_0.5.1.bb | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 27 deletions(-) delete mode 100644 recipes-devtools/castxml/castxml_0.4.5.bb create mode 100644 recipes-devtools/castxml/castxml_0.5.1.bb diff --git a/recipes-devtools/castxml/castxml_0.4.5.bb b/recipes-devtools/castxml/castxml_0.4.5.bb deleted file mode 100644 index e7ba2f7..0000000 --- a/recipes-devtools/castxml/castxml_0.4.5.bb +++ /dev/null @@ -1,27 +0,0 @@ -SUMMARY = "C-family abstract syntax tree XML output tool." -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI = "git://github.com/CastXML/CastXML;protocol=https;branch=master" - -SRCREV = "7ef4b1e35480a09c18b0c4afc230b558a0f53bc0" - -S = "${WORKDIR}/git" - -DEPENDS = "clang" - -# Match clang's idea of what TOOLCHAIN should be. -TOOLCHAIN = "clang" -TOOLCHAIN:class-native = "gcc" -TOOLCHAIN:class-nativesdk = "clang" - -BUILD_CC:class-nativesdk = "clang" -BUILD_CXX:class-nativesdk = "clang++" -BUILD_AR:class-nativesdk = "llvm-ar" -BUILD_RANLIB:class-nativesdk = "llvm-ranlib" -BUILD_NM:class-nativesdk = "llvm-nm" -LDFLAGS:append:class-nativesdk = " -fuse-ld=gold" - -inherit cmake cmake-native pkgconfig python3native - -BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/castxml/castxml_0.5.1.bb b/recipes-devtools/castxml/castxml_0.5.1.bb new file mode 100644 index 0000000..b3e4a18 --- /dev/null +++ b/recipes-devtools/castxml/castxml_0.5.1.bb @@ -0,0 +1,29 @@ +SUMMARY = "C-family abstract syntax tree XML output tool." +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "git://github.com/CastXML/CastXML;protocol=https;branch=master" + +SRCREV = "6d5a3c62ce28fa930456d64c0cfe338e9e3ae08e" + +PV .= "+0.5.2+${SRCPV}" + +S = "${WORKDIR}/git" + +DEPENDS = "clang" + +# Match clang's idea of what TOOLCHAIN should be. +TOOLCHAIN = "clang" +TOOLCHAIN:class-native = "gcc" +TOOLCHAIN:class-nativesdk = "clang" + +BUILD_CC:class-nativesdk = "clang" +BUILD_CXX:class-nativesdk = "clang++" +BUILD_AR:class-nativesdk = "llvm-ar" +BUILD_RANLIB:class-nativesdk = "llvm-ranlib" +BUILD_NM:class-nativesdk = "llvm-nm" +LDFLAGS:append:class-nativesdk = " -fuse-ld=gold" + +inherit cmake cmake-native pkgconfig python3native + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf