mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

- Compiling with option `--cpp_implementation', add cpp implementation support which requires to build with protobuf. - Workaround native compile failure while host gcc <= 4.8 Setting environment KOKORO_BUILD_NUMBER, the build will explicitly compile with option `-std=c++11', it could workaround native compile failure while host gcc <= 4.8 ... /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options ... - Add Python 3.7 compatibility Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
960 B
PHP
33 lines
960 B
PHP
DESCRIPTION = "Protocol Buffers"
|
|
HOMEPAGE = "https://developers.google.com/protocol-buffers/"
|
|
SECTION = "devel/python"
|
|
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
|
|
|
|
inherit pypi
|
|
|
|
SRC_URI[md5sum] = "e2daef80e70249aa1f05363670c6b3f8"
|
|
SRC_URI[sha256sum] = "1489b376b0f364bcc6f89519718c057eb191d7ad6f1b395ffd93d1aa45587811"
|
|
|
|
# http://errors.yoctoproject.org/Errors/Details/184715/
|
|
# Can't find required file: ../src/google/protobuf/descriptor.proto
|
|
CLEANBROKEN = "1"
|
|
|
|
UPSTREAM_CHECK_REGEX = "protobuf/(?P<pver>\d+(\.\d+)+)/"
|
|
|
|
RDEPENDS_${PN} += " \
|
|
${PYTHON_PN}-datetime \
|
|
${PYTHON_PN}-json \
|
|
${PYTHON_PN}-logging \
|
|
${PYTHON_PN}-netclient \
|
|
${PYTHON_PN}-numbers \
|
|
${PYTHON_PN}-pkgutil \
|
|
${PYTHON_PN}-six \
|
|
${PYTHON_PN}-unittest \
|
|
"
|
|
|
|
# For usage in other recipies when compiling protobuf files (e.g. by grpcio-tools)
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|