summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/grpc
Commit message (Collapse)AuthorAgeFilesLines
* grpc: fix cross-compilation of grpc applicationsVyacheslav Yurkov2021-10-082-0/+56
| | | | | | | | | | | 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>
* grpc: fix cross-compilation of grpc applicationsVyacheslav Yurkov2021-10-081-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* grpc: make SHARED library build optionalSinan Kaya2021-08-231-2/+2
| | | | | | | | 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>
* Convert to new override syntaxMartin Jansa2021-08-031-13/+13
| | | | | | | | | | 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>
* grpc: upgrade 1.38.0 -> 1.38.1zhengruoqin2021-06-231-1/+1
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Upgrade to 1.38.0Khem Raj2021-05-312-2/+39
| | | | | | Fix build with musl by checking for iovec redefinition Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Upgrade to 1.37.1Khem Raj2021-05-111-2/+2
| | | | | | | | Changes are here [1] [1] https://github.com/grpc/grpc/releases/tag/v1.37.1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.36.3 -> 1.36.4zhengruoqin2021-03-281-1/+1
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.36.2 -> 1.36.3zhengruoqin2021-03-191-1/+1
| | | | | Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: upgrade 1.36.1 -> 1.36.2Sakib Sajal2021-03-111-1/+1
| | | | | | | | 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>
* grpc: move grpc plugins to a new grpc-compiler packageClément Péron2021-03-051-1/+6
| | | | | | | | | | 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>
* grpc: remove gflags dependencyClément Péron2021-03-041-2/+1
| | | | | | | | | | 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>
* grpc: Add PackageConfig to build only required pluginsClément Péron2021-03-041-1/+10
| | | | | Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: Upgrade to 1.36.1Khem Raj2021-03-031-2/+2
| | | | | | | | | 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>
* Fix do_package error when enable multilib.zhengruoqin2021-03-021-0/+5
| | | | | | | | | | | | | | | | | 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>
* grpc: Upgrade 1.24.3 -> 1.35.0Anatol Belski2021-02-203-232/+5
| | | | | | | | | 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>
* meta-oe: Add leading whitespace for append operatorKhem Raj2020-11-151-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grpc: move from meta-networking to meta-oeMartin Jansa2020-03-033-0/+289
| | | | | | | | | | | | * 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>
* grpc: move it from oe to networking layerArmin Kuster2018-05-174-312/+0
| | | | | | grpc has dependancy on meta-networking packages. Signed-off-by: Armin Kuster <akuster808@gmail.com>
* grpc: Update to 1.8.5Khem Raj2018-02-116-205/+109
| | | | | | | | | | | | 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>
* grpc: Add recipe for grpc v1.6.6Alexey Firago2017-11-155-0/+408
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>