16f16ba4ea
The new version requires an extra features in the toolchain and won't build with a specific gcc bug, therefore two new toolchain options are added as dependencies: * !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 * BR2_TOOLCHAIN_HAS_UCONTEXT Signed-off-by: Koen Martens <gmc@sonologic.nl> Reviewed-by: Joel Carlson <JoelsonCarl@gmail.com> Tested-by: Joel Carlson <JoelsonCarl@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
config BR2_PACKAGE_CAPNPROTO
|
|
bool "capnproto"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_HOST_GCC_AT_LEAST_5 # C++14
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # C++14
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_TOOLCHAIN_HAS_ATOMIC
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
|
depends on BR2_TOOLCHAIN_HAS_UCONTEXT
|
|
help
|
|
Cap'n Proto is an insanely fast data interchange format
|
|
and capability-based RPC system. Think JSON, except
|
|
binary. Or think Protocol Buffers, except faster. In
|
|
fact, in benchmarks, Cap'n Proto is INFINITY TIMES
|
|
faster than Protocol Buffers.
|
|
|
|
https://capnproto.org/index.html
|
|
|
|
comment "capnproto needs host and target gcc >= 5 w/ C++14, threads, atomic, ucontext and not gcc bug 64735"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_HOST_GCC_AT_LEAST_5 || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5 || \
|
|
!BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_HAS_ATOMIC || \
|
|
BR2_TOOLCHAIN_HAS_GCC_BUG_64735 || \
|
|
!BR2_TOOLCHAIN_HAS_UCONTEXT
|