Add gflags dependency to Travis script
Summary: Travis is failing due to missing gflags (https://travis-ci.org/facebook/rocksdb/jobs/80307921). Adding libgflags-dev should help. Test Plan: Run tests on Travis. Reviewers: rven, anthony, yhchiang, aekmekji, igor, sdong Reviewed By: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D46905
This commit is contained in:
parent
5de807ac16
commit
0bfe0573e8
@ -9,7 +9,7 @@ matrix:
|
|||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.6']
|
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.6']
|
||||||
packages: ['clang-3.6', 'zlib1g-dev', 'libbz2-dev', 'libsnappy-dev']
|
packages: ['clang-3.6', 'zlib1g-dev', 'libbz2-dev', 'libsnappy-dev', 'libgflags-dev']
|
||||||
- os: osx
|
- os: osx
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
|
||||||
|
@ -213,7 +213,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Test whether gflags library is installed
|
# Test whether gflags library is installed
|
||||||
# http://code.google.com/p/gflags/
|
# http://gflags.github.io/gflags/
|
||||||
# check if the namespace is gflags
|
# check if the namespace is gflags
|
||||||
$CXX $CFLAGS -x c++ - -o /dev/null 2>/dev/null << EOF
|
$CXX $CFLAGS -x c++ - -o /dev/null 2>/dev/null << EOF
|
||||||
#include <gflags/gflags.h>
|
#include <gflags/gflags.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user