xref: /OK3568_Linux_fs/buildroot/package/libabseil-cpp/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# see absl/debugging/internal/examine_stack.cc for the list of
2# architectures that are supported, and for which ucontext is used.
3config BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
4	bool
5	default y if BR2_aarch64 || BR2_aarch64_be
6	default y if BR2_arm || BR2_armeb
7	default y if BR2_i386
8	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
9	default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
10	default y if BR2_riscv
11	default y if BR2_x86_64
12	depends on BR2_TOOLCHAIN_HAS_UCONTEXT
13
14config BR2_PACKAGE_LIBABSEIL_CPP
15	bool "libabseil-cpp"
16	depends on BR2_INSTALL_LIBSTDCPP
17	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
18	depends on BR2_TOOLCHAIN_HAS_THREADS
19	depends on !BR2_STATIC_LIBS # uses dlfcn.h
20	depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
21	help
22	  Abseil is an open-source collection of C++ library code
23	  designed to augment the C++ standard library. The Abseil
24	  library code is collected from Google's own C++ code base,
25	  has been extensively tested and used in production, and is
26	  the same code we depend on in our daily coding lives.
27
28	  https://github.com/abseil/abseil-cpp
29
30comment "libabseil-cpp needs a toolchain w/ gcc >= 4.9, C++, threads, dynamic library"
31	depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
32	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
33		BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
34