]> git.lizzy.rs Git - rust.git/commitdiff
travis: Use a pre-installed jemalloc
authorAlex Crichton <alex@alexcrichton.com>
Sat, 7 Jun 2014 06:55:05 +0000 (23:55 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 12 Jun 2014 07:28:01 +0000 (00:28 -0700)
.travis.yml

index 76e3af05d55cca8674ae8b52e8c33952d7d32aef..17a7543ef22237e23a782e5993e4cf4d04ae6901 100644 (file)
@@ -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