mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-06 04:49:29 +00:00
python3-grpcio: use system abseil-cpp
This also allows to remove a custom patch to maintain and corrects license, SPDX and CVE handling. Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -4,11 +4,9 @@ SECTION = "devel/python"
|
||||
LICENSE = "Apache-2.0 & BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"
|
||||
|
||||
DEPENDS += "c-ares openssl python3-protobuf re2 zlib"
|
||||
DEPENDS += "abseil-cpp c-ares openssl python3-protobuf re2 zlib"
|
||||
|
||||
SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \
|
||||
file://abseil-ppc-fixes.patch \
|
||||
"
|
||||
SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch"
|
||||
SRC_URI[sha256sum] = "936fa44241b5379c5afc344e1260d467bee495747eaf478de825bab2791da6f5"
|
||||
|
||||
RDEPENDS:${PN} = "python3-protobuf"
|
||||
@@ -18,6 +16,7 @@ inherit pypi
|
||||
|
||||
CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
|
||||
|
||||
export GRPC_PYTHON_BUILD_SYSTEM_ABSL = "1"
|
||||
export GRPC_PYTHON_BUILD_SYSTEM_CARES = "1"
|
||||
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1"
|
||||
export GRPC_PYTHON_BUILD_SYSTEM_RE2 = "1"
|
||||
|
||||
Reference in New Issue
Block a user