aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/grpc
AgeCommit message (Collapse)Author
2021-10-08grpc: fix cross-compilation of grpc applicationsVyacheslav Yurkov
Backport a patch from grpc/master to be able to build c++ applications when gRPC_BUILD_GRPC_CPP_PLUGIN=OFF. The patch should be dropped on the recipe upgrade Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 6696d7ef59bec46238aa610735480c1ce638cadf) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-10-08grpc: fix cross-compilation of grpc applicationsVyacheslav Yurkov
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> (cherry picked from commit 17af9e0501dc3eeedeadf14e50d1fa252d8c2ec7) Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-08-23grpc: make SHARED library build optionalSinan Kaya
Shared library build is known to not work on win32 platforms. Make it configurable. Signed-off-by: Sinan Kaya <okaya@kernel.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-03Convert to new override syntaxMartin Jansa
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-06-23grpc: upgrade 1.38.0 -> 1.38.1zhengruoqin
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-31grpc: Upgrade to 1.38.0Khem Raj
Fix build with musl by checking for iovec redefinition Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-05-11grpc: Upgrade to 1.37.1Khem Raj
Changes are here [1] [1] https://github.com/grpc/grpc/releases/tag/v1.37.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-28grpc: upgrade 1.36.3 -> 1.36.4zhengruoqin
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-19grpc: upgrade 1.36.2 -> 1.36.3zhengruoqin
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-11grpc: upgrade 1.36.1 -> 1.36.2Sakib Sajal
Changelog: https://github.com/grpc/grpc/releases/tag/v1.36.2 Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-05grpc: move grpc plugins to a new grpc-compiler packageClément Péron
Like it's done for protobuf and flatbuffers move the binaries produce by gRPC to a grpc-compiler package. This is more explicit and keep coherency with protobuf and flatbuffers. Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04grpc: remove gflags dependencyClément Péron
gFlags has been removed since: 1f670397ce7f8a12dfb1fb32d8857b2233022856 Remove gflags. With the move to abseil's flags, this removed the now-unnecessary submodule and installation commands. Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04grpc: Add PackageConfig to build only required pluginsClément Péron
Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-03grpc: Upgrade to 1.36.1Khem Raj
Changelog https://github.com/grpc/grpc/releases/tag/v1.36.0-pre1 https://github.com/grpc/grpc/releases/tag/v1.36.0 https://github.com/grpc/grpc/releases/tag/v1.36.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-02Fix do_package error when enable multilib.zhengruoqin
ERROR: grpc-1.35.0-r0 do_package: QA Issue: grpc: Files/directories were installed but not shipped in any package: /usr/lib /usr/lib/pkgconfig /usr/lib/pkgconfig/grpc.pc /usr/lib/pkgconfig/grpc_unsecure.pc /usr/lib/pkgconfig/grpc++.pc /usr/lib/pkgconfig/gpr.pc /usr/lib/pkgconfig/grpc++_unsecure.pc Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. grpc: 7 installed and not shipped files. [installed-vs-shipped] ERROR: grpc-1.35.0-r0 do_package: Fatal QA errors found, failing task. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-20grpc: Upgrade 1.24.3 -> 1.35.0Anatol Belski
This is a really huge jump in versions, but this package has been not upgraded for quite some time. The previous patches are not necessary anymore, they're integrated upstream. Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-15meta-oe: Add leading whitespace for append operatorKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-03grpc: move from meta-networking to meta-oeMartin Jansa
* because sysdig from meta-oe depends on it now, since: commit ed798c764319d83ad9eb1b963bfc99b1fa1a791a Author: Khem Raj <raj.khem@gmail.com> Date: Wed Jan 2 17:59:20 2019 -0800 sysdig: Upgrade to 0.26.5 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-17grpc: move it from oe to networking layerArmin Kuster
grpc has dependancy on meta-networking packages. Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-11grpc: Update to 1.8.5Khem Raj
Drop upstream patches which are not needed update version in the patch to 1.8.5 as well add a new patch to stop looking into native sysroot for libcares Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15grpc: Add recipe for grpc v1.6.6Alexey Firago
Add recipe to build the C based gRPC libraries. Regular gRPC build process uses git sub-modules for dependcies on external libraries/tools (c-ares, protobuf, etc). This recipe add patches and configs to use libraries provided by Yocto/bitbake/OE. grpc-native is required to build grpc for target - it uses some grpc plugins built for host. Signed-off-by: Alexey Firago <alexey_firago@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>