summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2015-11-18 13:43:49 -0500
committerErik Schnetter <schnetter@gmail.com>2015-11-18 13:43:49 -0500
commitcbc552e91e487ad0933e04a0cc73cc7d4f0b4061 (patch)
tree049d0ce76af8ae9190cdc3be09fc56bf912ef786 /var
parent721eb56d0cf0c32a9739142abb20c218548bf256 (diff)
downloadspack-cbc552e91e487ad0933e04a0cc73cc7d4f0b4061.tar.gz
spack-cbc552e91e487ad0933e04a0cc73cc7d4f0b4061.tar.bz2
spack-cbc552e91e487ad0933e04a0cc73cc7d4f0b4061.tar.xz
spack-cbc552e91e487ad0933e04a0cc73cc7d4f0b4061.zip
Add jemalloc package
Diffstat (limited to 'var')
-rw-r--r--var/spack/packages/jemalloc/package.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/packages/jemalloc/package.py b/var/spack/packages/jemalloc/package.py
new file mode 100644
index 0000000000..ff946ae821
--- /dev/null
+++ b/var/spack/packages/jemalloc/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class Jemalloc(Package):
+ """jemalloc is a general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support."""
+ homepage = "http://www.canonware.com/jemalloc/"
+ url = "https://github.com/jemalloc/jemalloc/releases/download/4.0.4/jemalloc-4.0.4.tar.bz2"
+
+ version('4.0.4', '687c5cc53b9a7ab711ccd680351ff988')
+
+ def install(self, spec, prefix):
+ configure('--prefix=%s' % prefix)
+
+ make()
+ make("install")