summaryrefslogtreecommitdiff
path: root/deps/update-jemalloc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deps/update-jemalloc.sh')
-rw-r--r--deps/update-jemalloc.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/deps/update-jemalloc.sh b/deps/update-jemalloc.sh
new file mode 100644
index 0000000..8ffbe1d
--- /dev/null
+++ b/deps/update-jemalloc.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+VER=$1
+URL="http://www.canonware.com/download/jemalloc/jemalloc-${VER}.tar.bz2"
+echo "Downloading $URL"
+curl $URL > /tmp/jemalloc.tar.bz2
+tar xvjf /tmp/jemalloc.tar.bz2
+rm -rf jemalloc
+mv jemalloc-${VER} jemalloc
+echo "Use git status, add all files and commit changes."