2016-07-05 19:35:48 +02:00
|
|
|
config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
|
|
|
|
bool
|
2019-05-07 22:35:32 +02:00
|
|
|
# see include/jemalloc/internal/quantum.h
|
2016-07-05 19:35:48 +02:00
|
|
|
default y if BR2_arm || BR2_armeb
|
|
|
|
default y if BR2_aarch64 || BR2_aarch64_be
|
|
|
|
default y if BR2_i386 || BR2_x86_64
|
2019-04-19 14:40:11 +02:00
|
|
|
default y if BR2_m68k
|
2019-01-25 21:50:52 +01:00
|
|
|
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
2019-04-19 14:40:11 +02:00
|
|
|
default y if BR2_nios2
|
2019-04-19 14:40:09 +02:00
|
|
|
default y if BR2_or1k
|
2016-07-05 19:35:48 +02:00
|
|
|
default y if BR2_powerpc
|
2019-04-19 14:40:10 +02:00
|
|
|
default y if BR2_riscv
|
2016-07-05 19:35:48 +02:00
|
|
|
default y if BR2_sh4 || BR2sh4eb || BR2_sh4a || BR2_sh4aeb
|
2019-04-19 14:40:11 +02:00
|
|
|
default y if BR2_sparc64
|
2016-07-05 19:35:48 +02:00
|
|
|
|
2016-06-24 21:46:30 +02:00
|
|
|
config BR2_PACKAGE_JEMALLOC
|
|
|
|
bool "jemalloc"
|
2016-07-05 19:35:48 +02:00
|
|
|
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
|
2016-07-17 19:16:10 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2016-06-24 21:46:30 +02:00
|
|
|
help
|
2017-07-31 15:53:47 +02:00
|
|
|
This library providing a malloc(3) implementation that
|
|
|
|
emphasizes fragmentation avoidance and scalable concurrency
|
|
|
|
support.
|
2016-06-24 21:46:30 +02:00
|
|
|
|
2017-04-02 19:54:18 +02:00
|
|
|
http://jemalloc.net/
|
2016-06-24 21:46:30 +02:00
|
|
|
|
2019-04-19 14:40:11 +02:00
|
|
|
comment "jemalloc needs a toolchain w/ threads"
|
2016-07-05 19:35:48 +02:00
|
|
|
depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
|
2019-04-19 14:40:11 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|