e0e54afd0c
Other changes: - Remove upstream patch 0004-Fix-gettid-naming-conflict.patch - Remove upstream patch 0005-Rename-gettid-functions.patch - Add a check for BR2_TOOLCHAIN_GCC_AT_LEAST_5 in grpc.mk. If the selected toolchain is not at least version 5 or higher and the optimization level is -Os, set the GRPC_CFLAGS and GRPC_CXXFLAGS optimizations to -O2. This check prevents the following error: error: failure memory model cannot be stronger than success memory model for '__atomic_compare_exchange' Tested with test-pkg, all tests passed: br-arm-full [1/6]: OK br-arm-cortex-a9-glibc [2/6]: OK br-arm-cortex-m4-full [3/6]: SKIPPED br-x86-64-musl [4/6]: OK br-arm-full-static [5/6]: SKIPPED Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
921 B
Plaintext
24 lines
921 B
Plaintext
config BR2_PACKAGE_GRPC
|
|
bool "grpc"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
|
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
|
|
depends on !BR2_STATIC_LIBS # protobuf
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC
|
|
select BR2_PACKAGE_C_ARES
|
|
select BR2_PACKAGE_OPENSSL
|
|
select BR2_PACKAGE_PROTOBUF
|
|
select BR2_PACKAGE_ZLIB
|
|
help
|
|
A language-neutral, platform-neutral, open source, remote
|
|
procedure call (RPC) system initially developed at Google.
|
|
|
|
http://github.com/grpc/grpc
|
|
|
|
comment "grpc needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.8"
|
|
depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
|
|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
|