From 46014c7b14d18cd2f5c0438e7bbcb8b08c5b228a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 6 Jun 2014 23:55:05 -0700 Subject: [PATCH] travis: Use a pre-installed jemalloc --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 76e3af05d55..17a7543ef22 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,7 @@ install: - sudo apt-get update -qq - sudo apt-get install -qq --force-yes -y llvm-$LLVM_VERSION llvm-${LLVM_VERSION}-dev clang-$LLVM_VERSION lldb-$LLVM_VERSION + libjemalloc-dev # All of the llvm tools are suffixed with "-$VERS" which we don't want, so @@ -27,7 +28,8 @@ before_script: - ln -nsf /usr/bin/llvm-dis-$LLVM_VERSION local-llvm/bin/llvm-dis - ln -nsf /usr/bin/llc-$LLVM_VERSION local-llvm/bin/llc - ln -nsf /usr/include/llvm-$LLVM_VERSION local-llvm/include - - ./configure --disable-optimize-tests --llvm-root=`pwd`/local-llvm --enable-fast-make --enable-clang + - ./configure --disable-optimize-tests --llvm-root=`pwd`/local-llvm + --enable-fast-make --enable-clang --jemalloc-root=/usr/lib # Tidy everything up first, then build a few things, and then run a few tests. # Note that this is meant to run in a "fairly small" amount of time, so this -- 2.44.0