Skip to content

Instantly share code, notes, and snippets.

@zbyerly
Created January 19, 2016 18:33
Show Gist options
  • Save zbyerly/596ab1296426bc93f53c to your computer and use it in GitHub Desktop.
Save zbyerly/596ab1296426bc93f53c to your computer and use it in GitHub Desktop.
#/bin/bash
INSTALL_DIR="$1"
if [ ! -d $INSTALL_DIR ]; then
echo "Install directory doesn't exist"
exit 1
fi
mkdir -p jemalloc/build
cd jemalloc
wget http://www.canonware.com/download/jemalloc/jemalloc-3.6.0.tar.bz2
tar xf jemalloc-3.6.0.tar.bz2
cd jemalloc-3.6.0
./configure --prefix=$INSTALL_DIR
make -j install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment