diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-12-23 10:46:51 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-12-23 13:29:20 -0800 |
commit | 7227733cbf8792444fe21fac729ab7f7d86a7866 (patch) | |
tree | de3c7476045986175bd326909381303e5d59ecfa | |
parent | b67fff759b0e4da1c380b340f380bdfd7dee7af5 (diff) | |
download | meta-openembedded-7227733cbf8792444fe21fac729ab7f7d86a7866.tar.gz |
python-grpcio: Upgrade to 1.17.1
Patch to fix ppc build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim "moto-timo" Orling <TicoTimo@gmail.com>
Cc: Derek Straka <derek@asterius.io>
-rw-r--r-- | meta-python/recipes-devtools/python/python-grpcio.inc | 10 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch | 17 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python-grpcio_1.17.1.bb (renamed from meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb) | 0 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio_1.17.1.bb (renamed from meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb) | 0 |
4 files changed, 23 insertions, 4 deletions
diff --git a/meta-python/recipes-devtools/python/python-grpcio.inc b/meta-python/recipes-devtools/python/python-grpcio.inc index 23d25f7aa..0cef0dda0 100644 --- a/meta-python/recipes-devtools/python/python-grpcio.inc +++ b/meta-python/recipes-devtools/python/python-grpcio.inc | |||
@@ -5,7 +5,10 @@ SECTION = "devel/python" | |||
5 | DEPENDS_append = "${PYTHON_PN}-protobuf" | 5 | DEPENDS_append = "${PYTHON_PN}-protobuf" |
6 | 6 | ||
7 | FILESEXTRAPATHS_prepend := "${THISDIR}/python-grpcio:" | 7 | FILESEXTRAPATHS_prepend := "${THISDIR}/python-grpcio:" |
8 | SRC_URI_append_class-target = " file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch " | 8 | |
9 | SRC_URI_append_class-target = " file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ | ||
10 | file://ppc-boringssl-support.patch \ | ||
11 | " | ||
9 | 12 | ||
10 | RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \ | 13 | RDEPENDS_${PN} = "${PYTHON_PN}-protobuf \ |
11 | ${PYTHON_PN}-setuptools \ | 14 | ${PYTHON_PN}-setuptools \ |
@@ -16,9 +19,8 @@ LICENSE = "BSD-3-Clause" | |||
16 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" | 19 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9" |
17 | 20 | ||
18 | inherit pypi | 21 | inherit pypi |
19 | 22 | SRC_URI[md5sum] = "dd46d7270dfce713c03f45fae999cae3" | |
20 | SRC_URI[md5sum] = "0987ae2e47b5103de3cacc437874a3c5" | 23 | SRC_URI[sha256sum] = "fd6774bbb6c717f725b39394757445ead4f69c471118364933aadb81a4f16961" |
21 | SRC_URI[sha256sum] = "4bf23666e763ca7ff6010465864e9f088f4ac7ecc1e11abd6f85b250e66b2c05" | ||
22 | 24 | ||
23 | CLEANBROKEN = "1" | 25 | CLEANBROKEN = "1" |
24 | 26 | ||
diff --git a/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch b/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch new file mode 100644 index 000000000..6435abbe6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python-grpcio/ppc-boringssl-support.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Let boringSSL compile on ppc32 bit | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | |||
6 | --- a/third_party/boringssl/include/openssl/base.h | ||
7 | +++ b/third_party/boringssl/include/openssl/base.h | ||
8 | @@ -95,6 +95,9 @@ extern "C" { | ||
9 | #elif (defined(__PPC64__) || defined(__powerpc64__)) && defined(_LITTLE_ENDIAN) | ||
10 | #define OPENSSL_64_BIT | ||
11 | #define OPENSSL_PPC64LE | ||
12 | +#elif (defined(__PPC__) || defined(__powerpc__)) | ||
13 | +#define OPENSSL_32_BIT | ||
14 | +#define OPENSSL_PPC | ||
15 | #elif defined(__mips__) && !defined(__LP64__) | ||
16 | #define OPENSSL_32_BIT | ||
17 | #define OPENSSL_MIPS | ||
diff --git a/meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb b/meta-python/recipes-devtools/python/python-grpcio_1.17.1.bb index 820bea44b..820bea44b 100644 --- a/meta-python/recipes-devtools/python/python-grpcio_1.14.1.bb +++ b/meta-python/recipes-devtools/python/python-grpcio_1.17.1.bb | |||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.17.1.bb index d4720b4b8..d4720b4b8 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio_1.14.1.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.17.1.bb | |||