diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch | 20 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio-tools_1.49.0.bb (renamed from meta-python/recipes-devtools/python/python3-grpcio-tools_1.48.1.bb) | 2 |
2 files changed, 8 insertions, 14 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch index d19d1eee4c..8b13d7ae21 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch | |||
| @@ -7,24 +7,18 @@ See https://github.com/llvm/llvm-project/issues/57795 | |||
| 7 | 7 | ||
| 8 | Upstream-Status: Pending | 8 | Upstream-Status: Pending |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> | ||
| 10 | --- | 11 | --- |
| 11 | third_party/protobuf/src/google/protobuf/port_def.inc | 3 ++- | 12 | third_party/protobuf/src/google/protobuf/port_def.inc | 3 ++- |
| 12 | 1 file changed, 2 insertions(+), 1 deletion(-) | 13 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 13 | 14 | ||
| 14 | diff --git a/third_party/protobuf/src/google/protobuf/port_def.inc b/third_party/protobuf/src/google/protobuf/port_def.inc | ||
| 15 | index 37632cf..3c3c1e4 100644 | ||
| 16 | --- a/third_party/protobuf/src/google/protobuf/port_def.inc | 15 | --- a/third_party/protobuf/src/google/protobuf/port_def.inc |
| 17 | +++ b/third_party/protobuf/src/google/protobuf/port_def.inc | 16 | +++ b/third_party/protobuf/src/google/protobuf/port_def.inc |
| 18 | @@ -230,7 +230,8 @@ | 17 | @@ -255,6 +255,7 @@ |
| 19 | #error PROTOBUF_TAILCALL was previously defined | 18 | #error PROTOBUF_TAILCALL was previously defined |
| 20 | #endif | 19 | #endif |
| 21 | #if __has_cpp_attribute(clang::musttail) && \ | 20 | #if __has_cpp_attribute(clang::musttail) && !defined(__arm__) && \ |
| 22 | - !defined(__arm__) && !defined(_ARCH_PPC) && !defined(__wasm__) | 21 | + !defined(__mips__) && \ |
| 23 | + !defined(__arm__) && !defined(_ARCH_PPC) && !defined(__wasm__) && \ | 22 | !defined(_ARCH_PPC) && !defined(__wasm__) && \ |
| 24 | + !defined(__mips__) | 23 | !(defined(_MSC_VER) && defined(_M_IX86)) && \ |
| 25 | # ifndef PROTO2_OPENSOURCE | 24 | !(defined(__NDK_MAJOR__) && __NDK_MAJOR <= 24) |
| 26 | // Compilation fails on ARM32: b/195943306 | ||
| 27 | // Compilation fails on powerpc64le: b/187985113 | ||
| 28 | -- | ||
| 29 | 2.37.3 | ||
| 30 | |||
diff --git a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.48.1.bb b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.49.0.bb index 002211a8c1..d2b599ae7a 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio-tools_1.48.1.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio-tools_1.49.0.bb | |||
| @@ -12,7 +12,7 @@ DEPENDS += "${PYTHON_PN}-grpcio" | |||
| 12 | SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ | 12 | SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ |
| 13 | file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ | 13 | file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ |
| 14 | " | 14 | " |
| 15 | SRC_URI[sha256sum] = "1178f2ea531f80cc2027ec64728df6ffc8e98cf1df61652a496eafd612127183" | 15 | SRC_URI[sha256sum] = "16ac93ac515194f63febcf6f8a96a7f17390268972acc15e765d257f5008f2af" |
| 16 | 16 | ||
| 17 | RDEPENDS:${PN} = "${PYTHON_PN}-grpcio" | 17 | RDEPENDS:${PN} = "${PYTHON_PN}-grpcio" |
| 18 | 18 | ||
