Skip to content

Commit

Permalink
Try to fix the issue with the clang build on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
rbost committed Dec 17, 2018
1 parent 629f3f0 commit 49f4743
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ci/install_rocksdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ else
git clone --single-branch --depth 1 https://github.com/facebook/rocksdb.git
cd rocksdb


# Workaround for an issue on Travis
if [ "$COMPILER" = "clang" ];
then
export CC=`which clang`
export CXX=`which clang++`
fi

make INSTALL_PATH=$INSTALL_DIR shared_lib -j4
sudo -E make INSTALL_PATH=$INSTALL_DIR install-shared
make clean
Expand Down

0 comments on commit 49f4743

Please sign in to comment.