Config.in 903 B

12345678910111213141516171819202122232425
  1. config BR2_PACKAGE_CLANG
  2. bool "clang"
  3. depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
  4. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
  5. depends on BR2_TOOLCHAIN_HAS_THREADS
  6. depends on BR2_INSTALL_LIBSTDCPP
  7. depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::shared_future
  8. depends on !BR2_STATIC_LIBS
  9. depends on BR2_USE_WCHAR # std::wstring
  10. select BR2_PACKAGE_LLVM
  11. help
  12. Clang is a C/C++, Objective C/C++ and OpenCL C front-end
  13. for the LLVM compiler.
  14. http://clang.llvm.org
  15. comment "clang needs a toolchain w/ wchar, threads, C++, gcc >= 4.8, dynamic library"
  16. depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
  17. depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
  18. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
  19. || BR2_STATIC_LIBS || !BR2_USE_WCHAR
  20. comment "clang needs a toolchain not affected by GCC bug 64735"
  21. depends on BR2_PACKAGE_LLVM_ARCH_SUPPORTS
  22. depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735