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