2016-06-24 21:46:30 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# jemalloc
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-04-02 19:54:18 +02:00
|
|
|
JEMALLOC_VERSION = 4.5.0
|
2016-06-24 21:46:30 +02:00
|
|
|
JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
|
2017-04-02 19:54:18 +02:00
|
|
|
JEMALLOC_SITE = https://github.com/jemalloc/jemalloc/releases/download/$(JEMALLOC_VERSION)
|
2017-03-30 15:43:39 +02:00
|
|
|
JEMALLOC_LICENSE = BSD-2-Clause
|
2016-06-24 21:46:30 +02:00
|
|
|
JEMALLOC_LICENSE_FILES = COPYING
|
|
|
|
JEMALLOC_INSTALL_STAGING = YES
|
|
|
|
|
2016-09-09 01:42:00 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_VALGRIND),y)
|
|
|
|
JEMALLOC_DEPENDENCIES += valgrind
|
|
|
|
JEMALLOC_CONF_OPTS += --enable-valgrind
|
|
|
|
else
|
|
|
|
JEMALLOC_CONF_OPTS += --disable-valgrind
|
|
|
|
endif
|
|
|
|
|
|
|
|
HOST_JEMALLOC_CONF_OPTS += --disable-valgrind
|
|
|
|
|
2016-06-24 21:46:30 +02:00
|
|
|
$(eval $(autotools-package))
|
|
|
|
$(eval $(host-autotools-package))
|