1 config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
3 default y if BR2_arm || BR2_armeb
4 default y if BR2_aarch64 || BR2_aarch64_be
5 default y if BR2_i386 || BR2_x86_64
6 default y if BR2_mips || BR2_mipsel
7 default y if BR2_sparc64
8 default y if BR2_powerpc
9 default y if BR2_sh4 || BR2sh4eb || BR2_sh4a || BR2_sh4aeb
11 config BR2_PACKAGE_JEMALLOC
13 depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
14 depends on !BR2_STATIC_LIBS
15 depends on BR2_TOOLCHAIN_HAS_THREADS
17 This library providing a malloc(3) implementation that emphasizes
18 fragmentation avoidance and scalable concurrency support.
20 http://www.canonware.com/jemalloc/
22 comment "jemalloc needs a toolchain w/ dynamic library, threads"
23 depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
24 depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS