aboutsummaryrefslogtreecommitdiff
path: root/package/grpc/Config.in
blob: d1bf0d078d8ab05a0624a7aa39f2bb967684c957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
config BR2_PACKAGE_GRPC
	bool "grpc"
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf, re2
	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # protobuf, re2, libabseil-cpp
	depends on BR2_HOST_GCC_AT_LEAST_4_9 # host-libabseil-cpp
	depends on !BR2_STATIC_LIBS # protobuf, libabseil-cpp
	depends on BR2_TOOLCHAIN_HAS_SYNC_4 || BR2_TOOLCHAIN_HAS_ATOMIC
	depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
	select BR2_PACKAGE_C_ARES
	select BR2_PACKAGE_LIBABSEIL_CPP
	select BR2_PACKAGE_OPENSSL
	select BR2_PACKAGE_PROTOBUF
	select BR2_PACKAGE_RE2
	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.9, host gcc >= 4.9"
	depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
	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_9 \
		|| !BR2_HOST_GCC_AT_LEAST_4_9
	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS