Skip to content

Commit 951f7b5

Browse files
simpkinsfacebook-github-bot
authored andcommitted
do not use jemalloc with clang on Travis CI builds
Summary: The Travis CI builds use Ubuntu trusty, and the version of jemalloc that it ships with is 4+ years old and does not work with clang+libstdc++. clang thinks that jemalloc's definitions of memalign and other functions conflict with those provided by libstdc++. This was fixed in upstream jemalloc in 2015 (jemalloc commit ae93d6bf3), but this fix is not available in Ubuntu trusty. This hasn't caused problems until now since the autoconf-based build of folly did not use jemalloc unless arguments were supplied to configure explicitly asking for jemalloc to be used. The CMake-based build of folly uses jemalloc automatically if it is available. Reviewed By: phoad Differential Revision: D10408985 fbshipit-source-id: 80afedcc079d1cd638863f6091ba322b708ccd85
1 parent cc4afff commit 951f7b5

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)