mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
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>
This commit is contained in:
+15
-12
@@ -23,16 +23,17 @@ Upstream-Status: Inappropriate [oe specific]
|
|||||||
|
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||||
|
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
|
||||||
---
|
---
|
||||||
setup.py | 9 ++++++---
|
setup.py | 11 +++++++----
|
||||||
src/python/grpcio/commands.py | 5 ++++-
|
src/python/grpcio/commands.py | 5 ++++-
|
||||||
2 files changed, 10 insertions(+), 4 deletions(-)
|
2 files changed, 11 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
diff --git a/setup.py b/setup.py
|
diff --git a/setup.py b/setup.py
|
||||||
index ec27fe4..b2d2d1a 100644
|
index 3a50c97..bb2386d 100644
|
||||||
--- a/setup.py
|
--- a/setup.py
|
||||||
+++ b/setup.py
|
+++ b/setup.py
|
||||||
@@ -206,8 +206,11 @@ def check_linker_need_libatomic():
|
@@ -205,8 +205,11 @@ def check_linker_need_libatomic():
|
||||||
"""Test if linker on system needs libatomic."""
|
"""Test if linker on system needs libatomic."""
|
||||||
code_test = (b'#include <atomic>\n' +
|
code_test = (b'#include <atomic>\n' +
|
||||||
b'int main() { return std::atomic<int64_t>{}; }')
|
b'int main() { return std::atomic<int64_t>{}; }')
|
||||||
@@ -46,15 +47,17 @@ index ec27fe4..b2d2d1a 100644
|
|||||||
stdin=PIPE,
|
stdin=PIPE,
|
||||||
stdout=PIPE,
|
stdout=PIPE,
|
||||||
stderr=PIPE)
|
stderr=PIPE)
|
||||||
@@ -217,7 +220,7 @@ def check_linker_need_libatomic():
|
@@ -215,8 +218,8 @@ def check_linker_need_libatomic():
|
||||||
|
return False
|
||||||
# Double-check to see if -latomic actually can solve the problem.
|
# Double-check to see if -latomic actually can solve the problem.
|
||||||
# https://github.com/grpc/grpc/issues/22491
|
# https://github.com/grpc/grpc/issues/22491
|
||||||
cpp_test = subprocess.Popen(
|
- cpp_test = subprocess.Popen(cxx +
|
||||||
- [cxx, '-x', 'c++', '-std=c++14', '-', '-latomic'],
|
- ['-x', 'c++', '-std=c++14', '-', '-latomic'],
|
||||||
+ [cxx, cxx_args, '-x', 'c++', '-std=c++14', '-', '-latomic'],
|
+ cpp_test = subprocess.Popen(
|
||||||
stdin=PIPE,
|
+ [cxx, cxx_args, '-x', 'c++', '-std=c++14', '-', '-latomic'],
|
||||||
stdout=PIPE,
|
stdin=PIPE,
|
||||||
stderr=PIPE)
|
stdout=PIPE,
|
||||||
|
stderr=PIPE)
|
||||||
diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py
|
diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py
|
||||||
index d93b6c7..a8c4a51 100644
|
index d93b6c7..a8c4a51 100644
|
||||||
--- a/src/python/grpcio/commands.py
|
--- a/src/python/grpcio/commands.py
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ SRC_URI:append:class-target = " file://ppc-boringssl-support.patch \
|
|||||||
file://mips_bigendian.patch \
|
file://mips_bigendian.patch \
|
||||||
file://abseil-ppc-fixes.patch;patchdir=third_party/abseil-cpp \
|
file://abseil-ppc-fixes.patch;patchdir=third_party/abseil-cpp \
|
||||||
"
|
"
|
||||||
SRC_URI[sha256sum] = "660217eccd2943bf23ea9a36e2a292024305aec04bf747fbcff1f5032b83610e"
|
SRC_URI[sha256sum] = "90ec337f36db26fbc70a4c032bcbabb2008f950f4194e99385118a12688fdf92"
|
||||||
|
|
||||||
RDEPENDS:${PN} = "${PYTHON_PN}-protobuf \
|
RDEPENDS:${PN} = "${PYTHON_PN}-protobuf \
|
||||||
${PYTHON_PN}-setuptools \
|
${PYTHON_PN}-setuptools \
|
||||||
Reference in New Issue
Block a user