mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-26 07:46:39 +00:00
Upgrade to release 1.85.3: - Fixed a deadlock that could freeze the entire Python process when closing a channel (synchronous API) while gRPC's background threads were running Python callbacks (for example, call credentials plugins). Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
28 lines
780 B
BlitzBasic
28 lines
780 B
BlitzBasic
DESCRIPTION = "Google gRPC tools"
|
|
HOMEPAGE = "https://www.grpc.io/"
|
|
SECTION = "devel/python"
|
|
|
|
LICENSE = "Apache-2.0"
|
|
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=0bcf70029ff7f40a132bf95381ee0b2d"
|
|
|
|
inherit pypi python_setuptools_build_meta cython
|
|
|
|
DEPENDS += "python3-grpcio python3-wheel-native"
|
|
|
|
SRC_URI += "file://0001-abseil-raw_hash_set-include-immintrin.h-instead-of-b.patch"
|
|
SRC_URI[sha256sum] = "9439be3cfae21974656abf0c07d0e203535162069f2d786667ad6f618c83b5be"
|
|
|
|
RDEPENDS:${PN} = "python3-grpcio"
|
|
|
|
do_configure:append() {
|
|
sed -i 's/"Cython==/"Cython>=/' ${S}/pyproject.toml
|
|
}
|
|
|
|
do_compile:prepend() {
|
|
export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}"
|
|
}
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
CVE_PRODUCT += "grpc:grpc"
|