diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio_1.39.0.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio_1.39.0.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.39.0.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.39.0.bb new file mode 100644 index 0000000000..76d38a2646 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.39.0.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | DESCRIPTION = "Google gRPC" | ||
2 | HOMEPAGE = "http://www.grpc.io/" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "Apache-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
6 | |||
7 | DEPENDS += "${PYTHON_PN}-protobuf" | ||
8 | |||
9 | SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch" | ||
10 | SRC_URI:append:class-target = " file://ppc-boringssl-support.patch \ | ||
11 | file://boring_ssl.patch \ | ||
12 | file://mips_bigendian.patch \ | ||
13 | file://0001-absl-always-use-asm-sgidefs.h.patch \ | ||
14 | " | ||
15 | SRC_URI[sha256sum] = "57974361a459d6fe04c9ae0af1845974606612249f467bbd2062d963cb90f407" | ||
16 | |||
17 | RDEPENDS:${PN} = "${PYTHON_PN}-protobuf \ | ||
18 | ${PYTHON_PN}-setuptools \ | ||
19 | ${PYTHON_PN}-six \ | ||
20 | " | ||
21 | |||
22 | inherit setuptools3 | ||
23 | inherit pypi | ||
24 | |||
25 | export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1" | ||
26 | |||
27 | BORING_SSL_PLATFORM:arm = "linux-arm" | ||
28 | BORING_SSL_PLATFORM:x86-64 = "linux-x86_64" | ||
29 | BORING_SSL_PLATFORM ?= "unsupported" | ||
30 | export GRPC_BORING_SSL_PLATFORM = "${BORING_SSL_PLATFORM}" | ||
31 | |||
32 | BORING_SSL:x86-64 = "1" | ||
33 | BORING_SSL:arm = "1" | ||
34 | BORING_SSL ?= "0" | ||
35 | export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}" | ||
36 | |||
37 | GRPC_CFLAGS ?= "" | ||
38 | GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" | ||
39 | export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}" | ||
40 | |||
41 | CLEANBROKEN = "1" | ||
42 | |||
43 | BBCLASSEXTEND = "native nativesdk" | ||
44 | |||
45 | CCACHE_DISABLE = "1" | ||
46 | |||
47 | # needs vdso support | ||
48 | COMPATIBLE_HOST:libc-musl:powerpc64le = "null" | ||