Skip to content

Commit 872b79c

Browse files
committed
Don't use jemalloc with clang-based builds
Update the Travis CI configuration to stop installing libjemalloc-dev for clang-based builds. The version of libjemalloc that comes with Ubuntu trusty is 4+ years old, and has bugs preventing it from working when using clang with libstdc++. (In particular jemalloc commit ae93d6bf3 fixes these bugs, but is not available in the version of jemalloc that ships with Ubuntu trusty.)
1 parent ab6f90b commit 872b79c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ addons:
2525
- libgflags-dev
2626
- libgoogle-glog-dev
2727
- libiberty-dev
28-
- libjemalloc-dev
2928
- liblz4-dev
3029
- liblzma-dev
3130
- libsnappy-dev
@@ -56,6 +55,7 @@ matrix:
5655
packages:
5756
- *common_deps
5857
- g++-5
58+
- libjemalloc-dev
5959

6060
- env: COMPILER_EVAL="CC=gcc-6 CXX=g++-6"
6161
addons:
@@ -65,6 +65,7 @@ matrix:
6565
packages:
6666
- *common_deps
6767
- g++-6
68+
- libjemalloc-dev
6869

6970
env:
7071
global:

0 commit comments

Comments
 (0)