xref: /OK3568_Linux_fs/buildroot/package/jemalloc/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
2	bool
3	# see include/jemalloc/internal/quantum.h
4	default y if BR2_arm || BR2_armeb
5	default y if BR2_aarch64 || BR2_aarch64_be
6	default y if BR2_i386 || BR2_x86_64
7	default y if BR2_m68k
8	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
9	default y if BR2_nios2
10	default y if BR2_or1k
11	default y if BR2_powerpc
12	default y if BR2_riscv
13	default y if BR2_sh4 || BR2sh4eb || BR2_sh4a || BR2_sh4aeb
14	default y if BR2_sparc64
15
16config BR2_PACKAGE_JEMALLOC
17	bool "jemalloc"
18	depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
19	depends on BR2_TOOLCHAIN_HAS_THREADS
20	help
21	  This library providing a malloc(3) implementation that
22	  emphasizes fragmentation avoidance and scalable concurrency
23	  support.
24
25	  http://jemalloc.net/
26
27comment "jemalloc needs a toolchain w/ threads"
28	depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
29	depends on !BR2_TOOLCHAIN_HAS_THREADS
30