Commit Graph

12 Commits

Author SHA1 Message Date
Xu Huan
d98d8dc8a6 python3-grpcio: upgrade 1.47.0 -> 1.48.0
0001-absl-always-use-asm-sgidefs.h.patch
removed since it's included in 1.48.0

abseil-ppc-fixes.patch
refreshed for new version

License-Update:
  Add the contents of Mozilla Public License to license file.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-27 07:37:45 -07:00
Xu Huan
ed42504a98 python3-grpcio: upgrade 1.45.0 -> 1.47.0
0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch
refreshed for new version.

Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-07 08:24:26 -07:00
Khem Raj
b9936f62ab python3-grpcio, python3-grpcio-tools: Upgrade to 1.44.0
- Fix build on ppc64le/musl
- Add patch to fix abseil on ppc64
- Changes are here [1]

[1] https://github.com/grpc/grpc/releases/tag/v1.44.0

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-15 15:34:22 -04:00
Khem Raj
b3375a4adc python3-grpcio: Update to 1.38.0
Drop riscv patch as its applied upstream
Refresh patches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-05-31 07:38:06 -07:00
Leon Anavi
d5e3c26160 python3-grpcio: Upgrade 1.36.1 -> 1.37.0
Upgrade to release 1.37.0:

- Use boringssl asm optimizations in aarch64 wheel source build.
- Clarify Guarantees about grpc.Future Interface.
- Use crosscompilation to build python armv7 wheels.
- [Aio] Add time_remaining method to ServicerContext.
- Standardize all environment variable boolean configuration in
  python's setup.py.
- Crosscompile python aarch64 wheels with dockcross.
- Fix Signal Safety Issue.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-04-13 08:06:07 -07:00
Khem Raj
76803697fb python3-grpcio: Fix build on mips and musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-03-08 07:29:23 -08:00
Khem Raj
204beecb95 python3-grpcio: Upgrade to 1.36.1
Release notes are here [1]

See the differences after 1.35.0 upwards

[1] https://github.com/grpc/grpc/releases

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-03-08 07:29:18 -08:00
Khem Raj
9cdca949b6 python3-grpcio: Upgrade to 1.35.0
Drop 0001-Fix-build-on-riscv32.patch, its upstreamed
Forward port rest of the patches
Use OPENSSL_NO_ASM only for armv7+/aarch64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2021-02-19 10:02:43 -08:00
Khem Raj
e25bae55c2 python3-grpcio: Fix build with riscv32
Ensure libseil-cpp can build for rv32 and boringssl riscv patch
considers rv32 separate from rv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-29 22:32:17 -07:00
Hongxu Jia
1614839cf1 python3-grpcio: fix native build failure on ubuntu 16.04 and centos 8
1. Keep '-std=c++11' and '-std=gnu99' to fix native build error
with old gcc (such as gcc 5.4.0 on ubuntu 16.04); for clang, remove
them through setting GRPC_PYTHON_CFLAGS at do_compile in bb recipe

2. While export CC="gcc ", cc_args is empty, it will
cause subprocess.Popen always return 1. On centos 8, if you don't
install package libatomic, there will be a native build error
`cannot find /usr/lib64/libatomic.so.1.2.0'.

Add no harm '-g' to cc_args if cc_args is empty.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-26 20:35:47 -07:00
Qi.Chen@windriver.com
7d242bcfc7 python3-grpcio: fix do_compile error for native
When building python3-grpcio-native, we will meet do_compile error
because of no 'cc'.

In fact, 'cc' is not in our hosttools. So fix to use gcc and make
the patch also apply to native.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-20 15:32:27 -08:00
Khem Raj
115144fce9 python3-grpcio: Upgrade to 1.27.1
Merge inc file into bb, there are no other users of it
Delete gettid patch, fixed differenty upstream
Add code to use cross compiler in setup.py

Define GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY so it does not use
SYS_clock_gettime syscalls since it does not work when 64bit time_t is
used on 32bit arches

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-02-13 14:07:47 -08:00