summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2017-05-24 21:41:35 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2017-05-24 21:41:35 -0400
commit8cd6e2a8af540bbea188c98cfae9139b400af83c (patch)
treecc1375e026b37719d1d40c3cedcf01074967279b
parent3b6fa62bc4747f8e10adef0bc5218e9426b95560 (diff)
downloadmongo-8cd6e2a8af540bbea188c98cfae9139b400af83c.tar.gz
SERVER-29336 Use vendored version of libfaketime when running Jepsen.
-rw-r--r--etc/evergreen.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index f0aad0176dd..14422e2a72b 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -571,9 +571,14 @@ functions:
# Build libfaketime. A version of libfaketime at least as new as v0.9.6-9-g75896bd is
# required to use the FAKETIME_NO_CACHE and FAKETIME_TIMESTAMP_FILE environment variables.
- git clone git@github.com:wolfcw/libfaketime.git
+ # Additionally, a version of libfaketime containing the changes mentioned in SERVER-29336
+ # is required to avoid needing to use libfaketimeMT.so.1 and serializing all calls to
+ # fake_clock_gettime() with a mutex.
+ git clone --branch=for-jepsen --depth=1 git@github.com:10gen/libfaketime.git
cd libfaketime
- git checkout 3c0ce9c8859ed136a154b61da396deece94844e0
+ branch=$(git symbolic-ref --short HEAD)
+ commit=$(git show -s --pretty=format:"%h - %an, %ar: %s")
+ echo "Git branch: $branch, commit: $commit"
make PREFIX=$(pwd)/build/ LIBDIRNAME='.' install
# Add libfaketime to mongo-binaries.tgz so it gets uploaded to each of the LXC containers.