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