mirror of
https://github.com/rust-lang/rust
synced 2024-09-15 22:50:55 +00:00
travis: Use a pre-installed jemalloc
This commit is contained in:
parent
145e415fab
commit
46014c7b14
|
@ -12,6 +12,7 @@ install:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq --force-yes -y llvm-$LLVM_VERSION
|
- sudo apt-get install -qq --force-yes -y llvm-$LLVM_VERSION
|
||||||
llvm-${LLVM_VERSION}-dev clang-$LLVM_VERSION lldb-$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
|
# 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/llvm-dis-$LLVM_VERSION local-llvm/bin/llvm-dis
|
||||||
- ln -nsf /usr/bin/llc-$LLVM_VERSION local-llvm/bin/llc
|
- ln -nsf /usr/bin/llc-$LLVM_VERSION local-llvm/bin/llc
|
||||||
- ln -nsf /usr/include/llvm-$LLVM_VERSION local-llvm/include
|
- 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.
|
# 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
|
# Note that this is meant to run in a "fairly small" amount of time, so this
|
||||||
|
|
Loading…
Reference in a new issue