diff options
author | Vyacheslav Yurkov <uvv.mail@gmail.com> | 2021-10-04 22:21:30 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-10-04 14:13:52 -0700 |
commit | 17af9e0501dc3eeedeadf14e50d1fa252d8c2ec7 (patch) | |
tree | e169a93a7cba7d6407edde9e49ae636c7e7cfe84 /meta-python/recipes-devtools/python/python3-yappi/python310.patch | |
parent | 23dc4f060f3d96af02c1c69d7b004352d79d7bb5 (diff) | |
download | meta-openembedded-17af9e0501dc3eeedeadf14e50d1fa252d8c2ec7.tar.gz |
grpc: fix cross-compilation of grpc applications
When we build an application that uses grpc for the target, following
error occurs
CMake Error at <application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCTargets.cmake:179 (message):
| The imported target "gRPC::grpc_cpp_plugin" references the file
|
| "<application work dir>/recipe-sysroot/usr/bin/grpc_cpp_plugin"
|
| but this file does not exist. Possible reasons include:
|
| * The file was deleted, renamed, or moved to another location.
|
| * An install or uninstall procedure did not complete successfully.
|
| * The installation package was faulty and contained
|
| "<application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCTargets.cmake"
|
| but not all the files it references.
|
| Call Stack (most recent call first):
| <application work dir>/recipe-sysroot/usr/lib/cmake/grpc/gRPCConfig.cmake:25 (include)
| CMakeLists.txt:4 (find_package)
That's because target grpc was built with CPP plugin support and
referenes it from CMake config file. This commit disables CPP plugin
build for the target, and sets dependency on compiler for native and SDK
builds
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-yappi/python310.patch')
0 files changed, 0 insertions, 0 deletions