1config BR2_PACKAGE_TBB
2	bool "tbb"
3	# tbb needs fenv.h which is not provided by uclibc
4	depends on !BR2_TOOLCHAIN_USES_UCLIBC
5	depends on !BR2_STATIC_LIBS
6	depends on BR2_TOOLCHAIN_HAS_THREADS
7	depends on BR2_INSTALL_LIBSTDCPP
8	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
9	help
10	  Intel(R) Threading Building Blocks (Intel(R) TBB) lets you
11	  easily write parallel C++ programs that take full advantage
12	  of multicore performance, that are portable, composable and
13	  have future-proof scalability.
14
15	  https://www.threadingbuildingblocks.org/
16
17comment "tbb needs a glibc or musl toolchain w/ dynamic library, threads, C++"
18	depends on BR2_TOOLCHAIN_USES_UCLIBC || BR2_STATIC_LIBS || \
19		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
20
21comment "tbb needs exception_ptr"
22	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
23