forked from openembedded/meta-openembedded
-
Notifications
You must be signed in to change notification settings - Fork 23
Backport python3-grpcio recipe from upstream/dunfell #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Align recipe for python protobuf code generator for gRPC with grpc itself and python-grpcio. Signed-off-by: Jens Rehsack <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Update python-grpcio and add related python3-grpcio recipe for recent features and bug-fixes. Signed-off-by: Jens Rehsack <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Patch to fix ppc build Signed-off-by: Khem Raj <[email protected]> Cc: Tim "moto-timo" Orling <[email protected]> Cc: Derek Straka <[email protected]>
Refresh patch to apply cleanly Fix build for RISC-V Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
Using COMMON_LICENSE_DIR in LIC_FILES_CHKSUM of downloaded code is never the right thing to do, there must be some license information and that has to be checked instead. In several cases the claimed LICENSE was also incorrect. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Khem Raj <[email protected]> Dropped parts of the commit which did not touch the python*-grpcio* recipes. When rebasing upon OE upstream, upstream's version of this commit should always be preferred. Rebased-by: Alex Stewart <[email protected]>
Remove recipes which require python2 from the layer. Those recipes are moved to meta-python2 and are not required here any longer. Signed-off-by: Andrey Zhizhikin <[email protected]> Signed-off-by: Khem Raj <[email protected]> Dropped parts of the commit which did not touch the python*-grpcio* recipes. When rebasing upon OE upstream, upstream's version of this commit should always be preferred. Rebased-by: Alex Stewart <[email protected]>
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 <[email protected]>
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 <[email protected]> Signed-off-by: Khem Raj <[email protected]>
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 <[email protected]> Signed-off-by: Khem Raj <[email protected]>
While enabling ccache, build python3-grpcio-native failed: ... |error: can't copy 'tmp-glibc/work/x86_64-linux/python3-grpcio-native/ 1.27.1-r0/build/lib.linux-x86_64-3.8/grpc/_cython/ cygrpc.cpython-38-x86_64-linux-gnu.so': doesn't exist or not a regular file |ERROR: 'python3 setup.py build ' execution failed. ... So disable ccache to workaround the failure. Signed-off-by: Hongxu Jia <[email protected]> Signed-off-by: Khem Raj <[email protected]>
Ensure libseil-cpp can build for rv32 and boringssl riscv patch considers rv32 separate from rv64 Signed-off-by: Khem Raj <[email protected]>
Signed-off-by: Khem Raj <[email protected]> Acked-by: Trevor Gamblin <[email protected]> (cherry picked from commit 6b3e3bd) Signed-off-by: Armin Kuster <[email protected]> (cherry picked from commit c3a9e5b) Signed-off-by: Armin Kuster <[email protected]>
|
Knowledge share video of this set of commits being cherry-picked from Dunfell->sumo |
billpittman
approved these changes
May 6, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
python3-grpciopackage is a dependency of theni-grpc-deviceptests. Its recipe was added to OE/upstream starting in the dunfell branch. This patchset cherry-picks all commits which touch that recipe family, such thatpython3-grpciois now build-able.This patchset involved dropping some unrelated parts from the following commits.
Testing
@ni/rtos