Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
B
brpc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
brpc
Commits
c62926de
Commit
c62926de
authored
May 27, 2019
by
zhujiashun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
passing --with-thrift as init_make_config argument
parent
c0d3b6a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
build_in_travis_ci.sh
build_in_travis_ci.sh
+3
-2
No files found.
build_in_travis_ci.sh
View file @
c62926de
...
...
@@ -28,14 +28,15 @@ if [ "$USE_MESALINK" = "yes" ]; then
fi
# 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
--with-thrift
;
then
if
!
sh config_brpc.sh
--headers
=
/usr/include
--libs
=
/usr/lib
--nodebugsymbols
--cxx
=
$CXX
--cc
=
$CC
$EXTRA_BUILD_OPTS
$1
;
then
echo
"Fail to configure brpc"
exit
1
fi
}
if
[
"
$PURPOSE
"
=
"compile"
]
;
then
init_make_config
# In order to run thrift example, we need to add the corresponding flag
init_make_config
"--with-thrift"
make
-j4
&&
sh tools/make_all_examples
elif
[
"
$PURPOSE
"
=
"unittest"
]
;
then
init_make_config
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment