summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb17
1 files changed, 2 insertions, 15 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
index 0265fc0adc..32d4fbc22a 100644
--- a/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
+++ b/meta-python/recipes-devtools/python/python3-grpcio_1.69.0.bb
@@ -4,14 +4,12 @@ SECTION = "devel/python"
4LICENSE = "Apache-2.0 & BSD-3-Clause" 4LICENSE = "Apache-2.0 & BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906"
6 6
7DEPENDS += "python3-protobuf" 7DEPENDS += "openssl python3-protobuf"
8 8
9SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \ 9SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \
10 file://0001-Include-missing-cstdint-header.patch \ 10 file://0001-Include-missing-cstdint-header.patch \
11 file://abseil-ppc-fixes.patch \ 11 file://abseil-ppc-fixes.patch \
12 file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \ 12 file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \
13 file://0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch;patchdir=third_party/boringssl-with-bazel/src/ \
14 file://0001-target.h-define-proper-macro-for-ppc-ppc64.patch \
15 " 13 "
16SRC_URI[sha256sum] = "936fa44241b5379c5afc344e1260d467bee495747eaf478de825bab2791da6f5" 14SRC_URI[sha256sum] = "936fa44241b5379c5afc344e1260d467bee495747eaf478de825bab2791da6f5"
17 15
@@ -22,18 +20,7 @@ inherit pypi
22 20
23CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" 21CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE"
24 22
25BORING_SSL_PLATFORM:arm = "linux-arm" 23export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1"
26BORING_SSL_PLATFORM:x86-64 = "linux-x86_64"
27BORING_SSL_PLATFORM:aarch64 = "linux-aarch64"
28BORING_SSL_PLATFORM ?= "unsupported"
29export GRPC_BORING_SSL_PLATFORM = "${BORING_SSL_PLATFORM}"
30export GRPC_BUILD_OVERRIDE_BORING_SSL_ASM_PLATFORM = "${BORING_SSL_PLATFORM}"
31
32BORING_SSL:arm = "1"
33BORING_SSL:x86-64 = "1"
34BORING_SSL:aarch64 = "1"
35BORING_SSL ?= "0"
36export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}"
37 24
38GRPC_CFLAGS ?= "" 25GRPC_CFLAGS ?= ""
39GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" 26GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions"