Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 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://riscv64_support.patch \ |
| 12 | file://boring_ssl.patch \ |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame^] | 13 | file://mips_bigendian.patch \ |
| 14 | file://0001-absl-always-use-asm-sgidefs.h.patch \ |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 15 | " |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame^] | 16 | SRC_URI[sha256sum] = "a66ea59b20f3669df0f0c6a3bd57b985e5b2d1dcf3e4c29819bb8dc232d0fd38" |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 17 | |
| 18 | RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \ |
| 19 | ${PYTHON_PN}-setuptools \ |
| 20 | ${PYTHON_PN}-six \ |
| 21 | " |
| 22 | |
| 23 | inherit setuptools3 |
| 24 | inherit pypi |
| 25 | |
| 26 | export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1" |
| 27 | |
| 28 | BORING_SSL_PLATFORM_arm = "linux-arm" |
| 29 | BORING_SSL_PLATFORM_x86-64 = "linux-x86_64" |
| 30 | BORING_SSL_PLATFORM ?= "unsupported" |
| 31 | export GRPC_BORING_SSL_PLATFORM = "${BORING_SSL_PLATFORM}" |
| 32 | |
| 33 | BORING_SSL_x86-64 = "1" |
| 34 | BORING_SSL_arm = "1" |
| 35 | BORING_SSL ?= "0" |
| 36 | export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}" |
| 37 | |
| 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" |
Andrew Geissler | 32b1199 | 2021-03-31 13:37:05 -0500 | [diff] [blame^] | 46 | |
| 47 | # needs vdso support |
| 48 | COMPATIBLE_HOST_libc-musl_powerpc64le = "null" |
| 49 | |