Commit 016cafa7 authored by zhujiashun's avatar zhujiashun

add --with-thrift to travis

parent 543be5e1
...@@ -22,13 +22,13 @@ runcmd(){ ...@@ -22,13 +22,13 @@ runcmd(){
echo "build combination: PURPOSE=$PURPOSE CXX=$CXX CC=$CC" echo "build combination: PURPOSE=$PURPOSE CXX=$CXX CC=$CC"
init_make_config() { init_make_config() {
#EXTRA_BUILD_OPTS="" EXTRA_BUILD_OPTS=""
#if [ "$USE_MESALINK" = "yes" ]; then #if [ "$USE_MESALINK" = "yes" ]; then
# EXTRA_BUILD_OPTS="$EXTRA_BUILD_OPTS --with-mesalink" # EXTRA_BUILD_OPTS="$EXTRA_BUILD_OPTS --with-mesalink"
#fi #fi
# The default env in travis-ci is Ubuntu. # The default env in travis-ci is Ubuntu.
if ! sh config_brpc.sh --headers=/usr/include --libs=/usr/lib --nodebugsymbols --cxx=$CXX --cc=$CC $EXTRA_BUILD_OPTS; then if ! sh config_brpc.sh --headers=/usr/include --libs=/usr/lib --nodebugsymbols --cxx=$CXX --cc=$CC $EXTRA_BUILD_OPTS --with-thrift ; then
echo "Fail to configure brpc" echo "Fail to configure brpc"
exit 1 exit 1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment