From c5533c184eda62311b7998f61c937df2a5dd2390 Mon Sep 17 00:00:00 2001 From: wangmy Date: Tue, 20 Sep 2022 10:22:45 +0800 Subject: 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 Signed-off-by: Khem Raj --- ...up.py-Do-not-mix-C-and-C-compiler-options.patch | 27 ++++++++++++---------- 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch') diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch index f416ca2728..1f465dbb6e 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch +++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch @@ -23,16 +23,17 @@ Upstream-Status: Inappropriate [oe specific] Signed-off-by: Khem Raj Signed-off-by: Hongxu Jia +Signed-off-by: Wang Mingyu --- - setup.py | 9 ++++++--- - src/python/grpcio/commands.py | 5 ++++- - 2 files changed, 10 insertions(+), 4 deletions(-) + setup.py | 11 +++++++---- + src/python/grpcio/commands.py | 5 ++++- + 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/setup.py b/setup.py -index ec27fe4..b2d2d1a 100644 +index 3a50c97..bb2386d 100644 --- a/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.""" code_test = (b'#include \n' + b'int main() { return std::atomic{}; }') @@ -46,15 +47,17 @@ index ec27fe4..b2d2d1a 100644 stdin=PIPE, stdout=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. # https://github.com/grpc/grpc/issues/22491 - cpp_test = subprocess.Popen( -- [cxx, '-x', 'c++', '-std=c++14', '-', '-latomic'], -+ [cxx, cxx_args, '-x', 'c++', '-std=c++14', '-', '-latomic'], - stdin=PIPE, - stdout=PIPE, - stderr=PIPE) +- cpp_test = subprocess.Popen(cxx + +- ['-x', 'c++', '-std=c++14', '-', '-latomic'], ++ cpp_test = subprocess.Popen( ++ [cxx, cxx_args, '-x', 'c++', '-std=c++14', '-', '-latomic'], + stdin=PIPE, + stdout=PIPE, + stderr=PIPE) diff --git a/src/python/grpcio/commands.py b/src/python/grpcio/commands.py index d93b6c7..a8c4a51 100644 --- a/src/python/grpcio/commands.py -- cgit v1.2.3-54-g00ecf