diff options
| author | wangmy <wangmy@fujitsu.com> | 2022-09-20 10:22:45 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-09-21 06:34:45 -0700 |
| commit | c5533c184eda62311b7998f61c937df2a5dd2390 (patch) | |
| tree | ab84ace2cd011b9efb7125f66a07352fe05e15e4 /meta-python/recipes-devtools/python/python3-grpcio_1.49.0.bb | |
| parent | bb27cf1c1e92bfa6aeff7e339ff09db37a4b1bd6 (diff) | |
| download | meta-openembedded-c5533c184eda62311b7998f61c937df2a5dd2390.tar.gz | |
python3-grpcio: upgrade 1.48.1 -> 1.49.0
0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
refreshed for new version.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio_1.49.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio_1.49.0.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.49.0.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.49.0.bb new file mode 100644 index 0000000000..c3266e5d20 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.49.0.bb | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | DESCRIPTION = "Google gRPC" | ||
| 2 | HOMEPAGE = "http://www.grpc.io/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "Apache-2.0 & BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906" | ||
| 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://abseil-ppc-fixes.patch;patchdir=third_party/abseil-cpp \ | ||
| 14 | " | ||
| 15 | SRC_URI[sha256sum] = "90ec337f36db26fbc70a4c032bcbabb2008f950f4194e99385118a12688fdf92" | ||
| 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 | CFLAGS += "-D_LARGEFILE64_SOURCE" | ||
| 26 | |||
| 27 | export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1" | ||
| 28 | |||
| 29 | BORING_SSL_PLATFORM:arm = "linux-arm" | ||
| 30 | BORING_SSL_PLATFORM:x86-64 = "linux-x86_64" | ||
| 31 | BORING_SSL_PLATFORM ?= "unsupported" | ||
| 32 | export GRPC_BORING_SSL_PLATFORM = "${BORING_SSL_PLATFORM}" | ||
| 33 | |||
| 34 | BORING_SSL:x86-64 = "1" | ||
| 35 | BORING_SSL:arm = "1" | ||
| 36 | BORING_SSL ?= "0" | ||
| 37 | export GRPC_BUILD_WITH_BORING_SSL_ASM = "${BORING_SSL}" | ||
| 38 | |||
| 39 | GRPC_CFLAGS ?= "" | ||
| 40 | GRPC_CFLAGS:append:toolchain-clang = " -fvisibility=hidden -fno-wrapv -fno-exceptions" | ||
| 41 | export GRPC_PYTHON_CFLAGS = "${GRPC_CFLAGS}" | ||
| 42 | |||
| 43 | CLEANBROKEN = "1" | ||
| 44 | |||
| 45 | BBCLASSEXTEND = "native nativesdk" | ||
| 46 | |||
| 47 | CCACHE_DISABLE = "1" | ||
