aea790392a
abseil and other google tools are now subject to
"Google's Foundational C++ Support Policy" [0][1]. This currently mandates
gcc 7.3.1 and C++14 as minimum versions.
Since we don't have guards for patch versions of gcc 7 use gcc 8 as minimum.
[0] https://github.com/abseil/abseil-cpp/releases/tag/20230125.0
[1] b842c39db8/foundational-cxx-support-matrix.md
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
# see absl/debugging/internal/examine_stack.cc for the list of
|
|
# architectures that are supported, and for which ucontext is used.
|
|
config BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
|
|
bool
|
|
default y if BR2_aarch64 || BR2_aarch64_be
|
|
default y if BR2_arm || BR2_armeb
|
|
default y if BR2_i386
|
|
default y if BR2_m68k
|
|
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
|
default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
|
|
default y if BR2_riscv
|
|
default y if BR2_s390x
|
|
default y if BR2_sh
|
|
default y if BR2_sparc || BR2_sparc64
|
|
default y if BR2_x86_64
|
|
depends on BR2_TOOLCHAIN_HAS_UCONTEXT
|
|
|
|
config BR2_PACKAGE_LIBABSEIL_CPP
|
|
bool "libabseil-cpp"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++14
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on !BR2_STATIC_LIBS # uses dlfcn.h
|
|
depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
|
|
help
|
|
Abseil is an open-source collection of C++ library code
|
|
designed to augment the C++ standard library. The Abseil
|
|
library code is collected from Google's own C++ code base,
|
|
has been extensively tested and used in production, and is
|
|
the same code we depend on in our daily coding lives.
|
|
|
|
https://github.com/abseil/abseil-cpp
|
|
|
|
comment "libabseil-cpp needs a toolchain w/ gcc >= 8, C++, threads, dynamic library"
|
|
depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_8
|