From 7af8af3928bcb62c5a1ed8d0edadda04a7418b9c Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 29 Jul 2022 21:45:41 -0700 Subject: castxml: Update to 0.4.5 Signed-off-by: Khem Raj --- recipes-devtools/castxml/castxml_0.4.5.bb | 27 +++++++++++++++++++++++++++ recipes-devtools/castxml/castxml_git.bb | 29 ----------------------------- 2 files changed, 27 insertions(+), 29 deletions(-) create mode 100644 recipes-devtools/castxml/castxml_0.4.5.bb delete mode 100644 recipes-devtools/castxml/castxml_git.bb (limited to 'recipes-devtools') diff --git a/recipes-devtools/castxml/castxml_0.4.5.bb b/recipes-devtools/castxml/castxml_0.4.5.bb new file mode 100644 index 0000000..e7ba2f7 --- /dev/null +++ b/recipes-devtools/castxml/castxml_0.4.5.bb @@ -0,0 +1,27 @@ +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_git.bb b/recipes-devtools/castxml/castxml_git.bb deleted file mode 100644 index d9e6ce0..0000000 --- a/recipes-devtools/castxml/castxml_git.bb +++ /dev/null @@ -1,29 +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" - -# 0.4.4 is the release for LLVM/Clang v13.0.0 -SRCREV = "2095c10a25610a8ccf6c7ef819440bdac6b13c59" -PV = "0.4.4" - -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