From 8cd6e2a8af540bbea188c98cfae9139b400af83c Mon Sep 17 00:00:00 2001 From: Max Hirschhorn Date: Wed, 24 May 2017 21:41:35 -0400 Subject: SERVER-29336 Use vendored version of libfaketime when running Jepsen. --- etc/evergreen.yml | 9 +++++++-- 1 file 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. -- cgit v1.2.1