Skip to content

Commit 46014c7

Browse files
committed
travis: Use a pre-installed jemalloc
1 parent 145e415 commit 46014c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ install:
1212
- sudo apt-get update -qq
1313
- sudo apt-get install -qq --force-yes -y llvm-$LLVM_VERSION
1414
llvm-${LLVM_VERSION}-dev clang-$LLVM_VERSION lldb-$LLVM_VERSION
15+
libjemalloc-dev
1516

1617

1718
# All of the llvm tools are suffixed with "-$VERS" which we don't want, so
@@ -27,7 +28,8 @@ before_script:
2728
- ln -nsf /usr/bin/llvm-dis-$LLVM_VERSION local-llvm/bin/llvm-dis
2829
- ln -nsf /usr/bin/llc-$LLVM_VERSION local-llvm/bin/llc
2930
- ln -nsf /usr/include/llvm-$LLVM_VERSION local-llvm/include
30-
- ./configure --disable-optimize-tests --llvm-root=`pwd`/local-llvm --enable-fast-make --enable-clang
31+
- ./configure --disable-optimize-tests --llvm-root=`pwd`/local-llvm
32+
--enable-fast-make --enable-clang --jemalloc-root=/usr/lib
3133

3234
# Tidy everything up first, then build a few things, and then run a few tests.
3335
# Note that this is meant to run in a "fairly small" amount of time, so this

0 commit comments

Comments
 (0)