summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel McGregor <daniel.mcgregor@vecima.com>2020-02-24 08:44:06 -0600
committerKhem Raj <raj.khem@gmail.com>2020-10-08 18:41:06 -0700
commit1bc18d9b6b1ec16f610306fcbd140b655504f798 (patch)
tree499189a48d88c72a4f8802e97e4bd72e5cb905b6
parent494478710f0fda3e3413b7e2d6f3eb421c1782c1 (diff)
downloadmeta-clang-1bc18d9b6b1ec16f610306fcbd140b655504f798.tar.gz
CastXML: new recipe
CastXML is an AST analysis tool similar to and succeeding gccxml. It is used to generate an XML description of a C or C++ abstract syntax tree. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-devtools/castxml/castxml_git.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-devtools/castxml/castxml_git.bb b/recipes-devtools/castxml/castxml_git.bb
new file mode 100644
index 0000000..4d3aa8a
--- /dev/null
+++ b/recipes-devtools/castxml/castxml_git.bb
@@ -0,0 +1,29 @@
1SUMMARY = "C-family abstract syntax tree XML output tool."
2LICENSE = "Apache-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
4
5SRC_URI = "git://github.com/CastXML/CastXML"
6
7# 0.3.6 is the release for LLVM/Clang v11.0.0
8SRCREV = "902ac163f0291fcfc459f58691481e88c9f91dea"
9PV = "0.3.6"
10
11S = "${WORKDIR}/git"
12
13DEPENDS = "clang"
14
15# Match clang's idea of what TOOLCHAIN should be.
16TOOLCHAIN = "clang"
17TOOLCHAIN_class-native = "gcc"
18TOOLCHAIN_class-nativesdk = "clang"
19
20BUILD_CC_class-nativesdk = "clang"
21BUILD_CXX_class-nativesdk = "clang++"
22BUILD_AR_class-nativesdk = "llvm-ar"
23BUILD_RANLIB_class-nativesdk = "llvm-ranlib"
24BUILD_NM_class-nativesdk = "llvm-nm"
25LDFLAGS_append_class-nativesdk = " -fuse-ld=gold"
26
27inherit cmake cmake-native pkgconfig python3native
28
29BBCLASSEXTEND = "native nativesdk"