diff options
author | antirez <antirez@gmail.com> | 2014-06-20 14:53:47 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-06-20 14:53:57 +0200 |
commit | fe596d67e3c871cb13b4c909cb4ec435dd738cd8 (patch) | |
tree | ef4d2a0353f73bb125b1775d5a7ec085e324f36c | |
parent | 22d17bc14f06112c27d54b0bb7768ee53e9732c5 (diff) | |
download | redis-fe596d67e3c871cb13b4c909cb4ec435dd738cd8.tar.gz |
Jemalloc update script added.
-rwxr-xr-x | deps/update-jemalloc.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/deps/update-jemalloc.sh b/deps/update-jemalloc.sh new file mode 100755 index 000000000..8ffbe1d70 --- /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." |