Config.in 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. # see absl/debugging/internal/examine_stack.cc for the list of
  2. # architectures that are supported, and for which ucontext is used.
  3. config 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. config BR2_PACKAGE_LIBABSEIL_CPP
  14. bool "libabseil-cpp"
  15. depends on BR2_INSTALL_LIBSTDCPP
  16. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
  17. depends on BR2_TOOLCHAIN_HAS_THREADS
  18. depends on !BR2_STATIC_LIBS # uses dlfcn.h
  19. depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
  20. help
  21. Abseil is an open-source collection of C++ library code
  22. designed to augment the C++ standard library. The Abseil
  23. library code is collected from Google's own C++ code base,
  24. has been extensively tested and used in production, and is
  25. the same code we depend on in our daily coding lives.
  26. https://github.com/abseil/abseil-cpp
  27. comment "libabseil-cpp needs a toolchain w/ gcc >= 4.9, C++, threads, dynamic library"
  28. depends on BR2_PACKAGE_LIBABSEIL_CPP_ARCH_SUPPORTS
  29. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
  30. BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9