blob: 83d3671016e85caa977537ee327c97211b477307 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001DESCRIPTION = "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 \
11 file://riscv64_support.patch \
12"
13SRC_URI[md5sum] = "ccaf4e7eb4f031d926fb80035d193b98"
14SRC_URI[sha256sum] = "a899725d34769a498ecd3be154021c4368dd22bdc69473f6ec46779696f626c4"
15
16RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \
17 ${PYTHON_PN}-setuptools \
18 ${PYTHON_PN}-six \
19"
20
21inherit setuptools3
22inherit pypi
23
24export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1"
25
26do_compile_prepend_toolchain-clang() {
27 export GRPC_PYTHON_CFLAGS='-fvisibility=hidden -fno-wrapv -fno-exceptions'
28}
29
30CLEANBROKEN = "1"
31
32BBCLASSEXTEND = "native nativesdk"
33
34CCACHE_DISABLE = "1"