All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/4] package/jemalloc: drop obsolete valgrind dependency
@ 2019-04-19 12:40 Fabrice Fontaine
  2019-04-19 12:40 ` [Buildroot] [PATCH 2/4] package/jemalloc: add or1k support Fabrice Fontaine
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2019-04-19 12:40 UTC (permalink / raw)
  To: buildroot

valgrind support has been removed since version 5.0.0 and
https://github.com/jemalloc/jemalloc/commit/9a8add1510456464bc496320990ec234798bd381

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/jemalloc/jemalloc.mk | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/package/jemalloc/jemalloc.mk b/package/jemalloc/jemalloc.mk
index 2424eb54c7..1b193189b4 100644
--- a/package/jemalloc/jemalloc.mk
+++ b/package/jemalloc/jemalloc.mk
@@ -11,14 +11,5 @@ JEMALLOC_LICENSE = BSD-2-Clause
 JEMALLOC_LICENSE_FILES = COPYING
 JEMALLOC_INSTALL_STAGING = YES
 
-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
-
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/4] package/jemalloc: add or1k support
  2019-04-19 12:40 [Buildroot] [PATCH 1/4] package/jemalloc: drop obsolete valgrind dependency Fabrice Fontaine
@ 2019-04-19 12:40 ` Fabrice Fontaine
  2019-04-19 12:40 ` [Buildroot] [PATCH 3/4] package/jemalloc: add riscv support Fabrice Fontaine
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2019-04-19 12:40 UTC (permalink / raw)
  To: buildroot

or1k support has been added since version 4.0.0 and
https://github.com/jemalloc/jemalloc/commit/ffa259841c6a4b6dae4ed74f02bb38703e190065

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/jemalloc/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/jemalloc/Config.in b/package/jemalloc/Config.in
index edb582d203..9e87e3ca99 100644
--- a/package/jemalloc/Config.in
+++ b/package/jemalloc/Config.in
@@ -4,6 +4,7 @@ config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
 	default y if BR2_aarch64 || BR2_aarch64_be
 	default y if BR2_i386 || BR2_x86_64
 	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+	default y if BR2_or1k
 	default y if BR2_sparc64
 	default y if BR2_powerpc
 	default y if BR2_sh4 || BR2sh4eb || BR2_sh4a || BR2_sh4aeb
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 3/4] package/jemalloc: add riscv support
  2019-04-19 12:40 [Buildroot] [PATCH 1/4] package/jemalloc: drop obsolete valgrind dependency Fabrice Fontaine
  2019-04-19 12:40 ` [Buildroot] [PATCH 2/4] package/jemalloc: add or1k support Fabrice Fontaine
@ 2019-04-19 12:40 ` Fabrice Fontaine
  2019-04-19 12:40 ` [Buildroot] [PATCH 4/4] package/jemalloc: bump to version 5.2.0 Fabrice Fontaine
  2019-04-20 20:25 ` [Buildroot] [PATCH 1/4] package/jemalloc: drop obsolete valgrind dependency Thomas Petazzoni
  3 siblings, 0 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2019-04-19 12:40 UTC (permalink / raw)
  To: buildroot

riscv support has been added in version 4.2.0 with
https://github.com/jemalloc/jemalloc/commit/919e4a0ea92fbbf9b97efdf9f31a3c800f77cd8f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/jemalloc/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/jemalloc/Config.in b/package/jemalloc/Config.in
index 9e87e3ca99..a320ae721d 100644
--- a/package/jemalloc/Config.in
+++ b/package/jemalloc/Config.in
@@ -7,6 +7,7 @@ config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
 	default y if BR2_or1k
 	default y if BR2_sparc64
 	default y if BR2_powerpc
+	default y if BR2_riscv
 	default y if BR2_sh4 || BR2sh4eb || BR2_sh4a || BR2_sh4aeb
 
 config BR2_PACKAGE_JEMALLOC
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 4/4] package/jemalloc: bump to version 5.2.0
  2019-04-19 12:40 [Buildroot] [PATCH 1/4] package/jemalloc: drop obsolete valgrind dependency Fabrice Fontaine
  2019-04-19 12:40 ` [Buildroot] [PATCH 2/4] package/jemalloc: add or1k support Fabrice Fontaine
  2019-04-19 12:40 ` [Buildroot] [PATCH 3/4] package/jemalloc: add riscv support Fabrice Fontaine
@ 2019-04-19 12:40 ` Fabrice Fontaine
  2019-04-20 20:25 ` [Buildroot] [PATCH 1/4] package/jemalloc: drop obsolete valgrind dependency Thomas Petazzoni
  3 siblings, 0 replies; 5+ messages in thread
From: Fabrice Fontaine @ 2019-04-19 12:40 UTC (permalink / raw)
  To: buildroot

- Add hash for license file
- Support for m68k and nios2 architectures have been added with
  version 5.1.0
- Static library support has been added in version 5.2.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/jemalloc/Config.in     | 10 ++++++----
 package/jemalloc/jemalloc.hash |  3 ++-
 package/jemalloc/jemalloc.mk   |  2 +-
 3 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/package/jemalloc/Config.in b/package/jemalloc/Config.in
index a320ae721d..2bf762903d 100644
--- a/package/jemalloc/Config.in
+++ b/package/jemalloc/Config.in
@@ -1,19 +1,21 @@
 config BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
 	bool
+	#?see include/jemalloc/internal/quantum.h
 	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_m68k
 	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
+	default y if BR2_nios2
 	default y if BR2_or1k
-	default y if BR2_sparc64
 	default y if BR2_powerpc
 	default y if BR2_riscv
 	default y if BR2_sh4 || BR2sh4eb || BR2_sh4a || BR2_sh4aeb
+	default y if BR2_sparc64
 
 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
@@ -22,6 +24,6 @@ config BR2_PACKAGE_JEMALLOC
 
 	  http://jemalloc.net/
 
-comment "jemalloc needs a toolchain w/ dynamic library, threads"
+comment "jemalloc needs a toolchain w/ threads"
 	depends on BR2_PACKAGE_JEMALLOC_ARCH_SUPPORTS
-	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/jemalloc/jemalloc.hash b/package/jemalloc/jemalloc.hash
index 50ac682839..874c7c858d 100644
--- a/package/jemalloc/jemalloc.hash
+++ b/package/jemalloc/jemalloc.hash
@@ -1,2 +1,3 @@
 # Locally calculated
-sha256 4814781d395b0ef093b21a08e8e6e0bd3dab8762f9935bbfb71679b0dea7c3e9  jemalloc-5.0.1.tar.bz2
+sha256 74be9f44a60d2a99398e706baa921e4efde82bf8fd16e5c0643c375c5851e3b4  jemalloc-5.2.0.tar.bz2
+sha256 94aa2caa98c25d942f58b956c71dba6a99ff98fc3a31cbc669fe2a4cd0268b53  COPYING
diff --git a/package/jemalloc/jemalloc.mk b/package/jemalloc/jemalloc.mk
index 1b193189b4..1273f8a72a 100644
--- a/package/jemalloc/jemalloc.mk
+++ b/package/jemalloc/jemalloc.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-JEMALLOC_VERSION = 5.0.1
+JEMALLOC_VERSION = 5.2.0
 JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
 JEMALLOC_SITE = https://github.com/jemalloc/jemalloc/releases/download/$(JEMALLOC_VERSION)
 JEMALLOC_LICENSE = BSD-2-Clause
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/4] package/jemalloc: drop obsolete valgrind dependency
  2019-04-19 12:40 [Buildroot] [PATCH 1/4] package/jemalloc: drop obsolete valgrind dependency Fabrice Fontaine
                   ` (2 preceding siblings ...)
  2019-04-19 12:40 ` [Buildroot] [PATCH 4/4] package/jemalloc: bump to version 5.2.0 Fabrice Fontaine
@ 2019-04-20 20:25 ` Thomas Petazzoni
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2019-04-20 20:25 UTC (permalink / raw)
  To: buildroot

On Fri, 19 Apr 2019 14:40:08 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> valgrind support has been removed since version 5.0.0 and
> https://github.com/jemalloc/jemalloc/commit/9a8add1510456464bc496320990ec234798bd381
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/jemalloc/jemalloc.mk | 9 ---------
>  1 file changed, 9 deletions(-)

Series applied to master. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-20 20:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-19 12:40 [Buildroot] [PATCH 1/4] package/jemalloc: drop obsolete valgrind dependency Fabrice Fontaine
2019-04-19 12:40 ` [Buildroot] [PATCH 2/4] package/jemalloc: add or1k support Fabrice Fontaine
2019-04-19 12:40 ` [Buildroot] [PATCH 3/4] package/jemalloc: add riscv support Fabrice Fontaine
2019-04-19 12:40 ` [Buildroot] [PATCH 4/4] package/jemalloc: bump to version 5.2.0 Fabrice Fontaine
2019-04-20 20:25 ` [Buildroot] [PATCH 1/4] package/jemalloc: drop obsolete valgrind dependency Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.