The version is used in generating caffe and tensorflow protobuf files for
building caffe and tensorflow network models in armnn.

Signed-off-by: Qin Su <[email protected]>
---
 .../protobuf-tidl/protobuf-tidl_3.2.0.bb           | 38 ++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 
meta-arago-extras/recipes-support/protobuf-tidl/protobuf-tidl_3.2.0.bb

diff --git 
a/meta-arago-extras/recipes-support/protobuf-tidl/protobuf-tidl_3.2.0.bb 
b/meta-arago-extras/recipes-support/protobuf-tidl/protobuf-tidl_3.2.0.bb
new file mode 100644
index 0000000..d67529a
--- /dev/null
+++ b/meta-arago-extras/recipes-support/protobuf-tidl/protobuf-tidl_3.2.0.bb
@@ -0,0 +1,38 @@
+SUMMARY = "Protocol Buffers - structured data serialisation mechanism"
+DESCRIPTION = "Protocol Buffers are a way of encoding structured data in an \
+efficient yet extensible format. Google uses Protocol Buffers for almost \
+all of its internal RPC protocols and file formats. This recipe is needed for \
+compatiblity with TIDL 1.1.0 release, Linux x86 version of import tool"
+
+HOMEPAGE = "https://github.com/google/protobuf";
+SECTION = "console/tools"
+LICENSE = "BSD-3-Clause"
+
+PACKAGE_BEFORE_PN = "${PN}-compiler ${PN}-lite"
+
+DEPENDS = "zlib"
+RDEPENDS_${PN}-compiler = "${PN}"
+RDEPENDS_${PN}-dev += "${PN}-compiler"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=35953c752efc9299b184f91bef540095"
+
+SRCREV = "593e917c176b5bc5aafa57bf9f6030d749d91cd5"
+
+PV = "3.2.0+git${SRCPV}"
+
+SRC_URI = "git://github.com/google/protobuf.git;branch=3.2.x"
+
+EXTRA_OECONF_class-target     = " --with-protoc=echo"
+EXTRA_OECONF_class-native     = " --with-protoc=echo"
+EXTRA_OECONF_class-native    += "CFLAGS="-m32 -DNDEBUG" CXXFLAGS="-m32 
-DNDEBUG" LDFLAGS=-m32"
+
+inherit autotools-brokensep
+
+S = "${WORKDIR}/git"
+
+FILES_${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
+FILES_${PN}-lite = "${bindir} ${libdir}/libprotobuf-lite${SOLIBS}"
+
+MIPS_INSTRUCTION_SET = "mips"
+
+BBCLASSEXTEND = "native"
-- 
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to