blob: 3af033d966fe9b2e30641fd37a630b9f40ff1024 [file] [log] [blame]
Andrew Geissler97771a32021-03-05 15:23:11 -06001DESCRIPTION = "Google gRPC"
2HOMEPAGE = "http://www.grpc.io/"
3SECTION = "devel/python"
4LICENSE = "Apache-2.0"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
6
7DEPENDS += "${PYTHON_PN}-protobuf"
8
9SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch"
10SRC_URI_append_class-target = " file://ppc-boringssl-support.patch \
Andrew Geissler97771a32021-03-05 15:23:11 -060011 file://boring_ssl.patch \
Andrew Geissler32b11992021-03-31 13:37:05 -050012 file://mips_bigendian.patch \
13 file://0001-absl-always-use-asm-sgidefs.h.patch \
Andrew Geissler97771a32021-03-05 15:23:11 -060014"
Andrew Geissler69721092021-07-23 12:57:00 -040015SRC_URI[sha256sum] = "1f79d8a24261e3c12ec3a6c25945ff799ae09874fd24815bc17c2dc37715ef6c"
Andrew Geissler97771a32021-03-05 15:23:11 -060016
17RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \
18 ${PYTHON_PN}-setuptools \
19 ${PYTHON_PN}-six \
20"
21
22inherit setuptools3
23inherit pypi
24
25export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1"
26
27BORING_SSL_PLATFORM_arm = "linux-arm"
28BORING_SSL_PLATFORM_x86-64 = "linux-x86_64"
29BORING_SSL_PLATFORM ?= "unsupported"
30export GRPC_BORING_SSL_PLATFORM = "${BORING_SSL_PLATFORM}"
31
32BORING_SSL_x86-64 = "1"
33BORING_SSL_arm = "1"
34BORING_SSL ?= "0"
35export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}"
36
37GRPC_CFLAGS_append_toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions"
38export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}"
39
40CLEANBROKEN = "1"
41
42BBCLASSEXTEND = "native nativesdk"
43
44CCACHE_DISABLE = "1"
Andrew Geissler32b11992021-03-31 13:37:05 -050045
46# needs vdso support
47COMPATIBLE_HOST_libc-musl_powerpc64le = "null"