diff options
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.bb | 17 |
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" | |||
4 | LICENSE = "Apache-2.0 & BSD-3-Clause" | 4 | LICENSE = "Apache-2.0 & BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906" |
6 | 6 | ||
7 | DEPENDS += "python3-protobuf" | 7 | DEPENDS += "openssl python3-protobuf" |
8 | 8 | ||
9 | SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \ | 9 | SRC_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 | " |
16 | SRC_URI[sha256sum] = "936fa44241b5379c5afc344e1260d467bee495747eaf478de825bab2791da6f5" | 14 | SRC_URI[sha256sum] = "936fa44241b5379c5afc344e1260d467bee495747eaf478de825bab2791da6f5" |
17 | 15 | ||
@@ -22,18 +20,7 @@ inherit pypi | |||
22 | 20 | ||
23 | CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" | 21 | CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" |
24 | 22 | ||
25 | BORING_SSL_PLATFORM:arm = "linux-arm" | 23 | export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL = "1" |
26 | BORING_SSL_PLATFORM:x86-64 = "linux-x86_64" | ||
27 | BORING_SSL_PLATFORM:aarch64 = "linux-aarch64" | ||
28 | BORING_SSL_PLATFORM ?= "unsupported" | ||
29 | export GRPC_BORING_SSL_PLATFORM = "${BORING_SSL_PLATFORM}" | ||
30 | export GRPC_BUILD_OVERRIDE_BORING_SSL_ASM_PLATFORM = "${BORING_SSL_PLATFORM}" | ||
31 | |||
32 | BORING_SSL:arm = "1" | ||
33 | BORING_SSL:x86-64 = "1" | ||
34 | BORING_SSL:aarch64 = "1" | ||
35 | BORING_SSL ?= "0" | ||
36 | export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}" | ||
37 | 24 | ||
38 | GRPC_CFLAGS ?= "" | 25 | GRPC_CFLAGS ?= "" |
39 | GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" | 26 | GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" |