All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Le Bihan <eric.le.bihan.dev@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [Patch v2 1/3] jemalloc: new package
Date: Fri, 24 Jun 2016 21:46:30 +0200	[thread overview]
Message-ID: <1466797592-5565-2-git-send-email-eric.le.bihan.dev@free.fr> (raw)
In-Reply-To: <1466797592-5565-1-git-send-email-eric.le.bihan.dev@free.fr>

This new package provides jemalloc, a malloc(3) implementation that
emphasizes fragmentation avoidance and scalable concurrency support.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
---
 package/Config.in              |  1 +
 package/jemalloc/Config.in     |  7 +++++++
 package/jemalloc/jemalloc.hash |  2 ++
 package/jemalloc/jemalloc.mk   | 15 +++++++++++++++
 4 files changed, 25 insertions(+)
 create mode 100644 package/jemalloc/Config.in
 create mode 100644 package/jemalloc/jemalloc.hash
 create mode 100644 package/jemalloc/jemalloc.mk

diff --git a/package/Config.in b/package/Config.in
index a2a02a8..38734f3 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1242,6 +1242,7 @@ menu "Other"
 	source "package/gmp/Config.in"
 	source "package/gsl/Config.in"
 	source "package/gtest/Config.in"
+	source "package/jemalloc/Config.in"
 	source "package/libargtable2/Config.in"
 	source "package/libatomic_ops/Config.in"
 	source "package/libbsd/Config.in"
diff --git a/package/jemalloc/Config.in b/package/jemalloc/Config.in
new file mode 100644
index 0000000..86bafbf
--- /dev/null
+++ b/package/jemalloc/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_JEMALLOC
+	bool "jemalloc"
+	help
+	 This library providing a malloc(3) implementation that emphasizes
+	 fragmentation avoidance and scalable concurrency support.
+
+	 http://www.canonware.com/jemalloc/
diff --git a/package/jemalloc/jemalloc.hash b/package/jemalloc/jemalloc.hash
new file mode 100644
index 0000000..c24a273
--- /dev/null
+++ b/package/jemalloc/jemalloc.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 b216ddaeb901697fe38bd30ea02d7505a4b60e8979092009f95cfda860d46acb jemalloc-4.2.0.tar.bz2
diff --git a/package/jemalloc/jemalloc.mk b/package/jemalloc/jemalloc.mk
new file mode 100644
index 0000000..4c76a21
--- /dev/null
+++ b/package/jemalloc/jemalloc.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# jemalloc
+#
+################################################################################
+
+JEMALLOC_VERSION = 4.2.0
+JEMALLOC_SOURCE = jemalloc-$(JEMALLOC_VERSION).tar.bz2
+JEMALLOC_SITE = http://www.canonware.com/download/jemalloc/
+JEMALLOC_LICENSE = BSD-2c
+JEMALLOC_LICENSE_FILES = COPYING
+JEMALLOC_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))
-- 
2.4.11

  reply	other threads:[~2016-06-24 19:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 19:46 [Buildroot] [Patch v2 0/3] Add support for the Rust programming language Eric Le Bihan
2016-06-24 19:46 ` Eric Le Bihan [this message]
2016-07-05  9:09   ` [Buildroot] [Patch v2 1/3] jemalloc: new package Romain Naour
2016-07-05  9:14   ` Thomas Petazzoni
2016-07-05 17:14   ` Thomas Petazzoni
2016-06-24 19:46 ` [Buildroot] [Patch v2 2/3] rust-bootstrap: " Eric Le Bihan
2016-07-05  9:47   ` Romain Naour
     [not found]     ` <20160709143638.778d7964@itchy>
2016-07-09 20:05       ` Romain Naour
2016-06-24 19:46 ` [Buildroot] [Patch v2 3/3] rust: " Eric Le Bihan
2016-07-05 10:11   ` Romain Naour
2016-07-09 12:25     ` Eric Le Bihan
2016-07-09 20:48       ` Romain Naour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1466797592-5565-2-git-send-email-eric.le.bihan.dev@free.fr \
    --to=eric.le.bihan.dev@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.