summaryrefslogtreecommitdiffstats
path: root/package/jemalloc/Config.in
blob: c3fd8e34b8e7e6af2e9a5d36bb4240a4906f1222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
	bool
	default y if BR2_arm || BR2_armeb
	default y if BR2_aarch64 || BR2_aarch64_be
	default y if BR2_i386 || BR2_x86_64
	default y if BR2_mips || BR2_mipsel
	default y if BR2_sparc64
	default y if BR2_powerpc
	default y if BR2_sh4 || BR2sh4eb || BR2_sh4a || BR2_sh4aeb

config BR2_PACKAGE_JEMALLOC
	bool "jemalloc"
	depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
	depends on !BR2_STATIC_LIBS
	depends on BR2_TOOLCHAIN_HAS_THREADS
	help
	  This library providing a malloc(3) implementation that
	  emphasizes fragmentation avoidance and scalable concurrency
	  support.

	  http://jemalloc.net/

comment "jemalloc needs a toolchain w/ dynamic library, threads"
	depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud