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
57834a6b
Commit
57834a6b
authored
6 years ago
by
wangxuefeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/brpc/brpc
into kenshinxf
parents
908692fc
d864ccab
master
0.9.8-rc01
0.9.7
0.9.7-rc03
0.9.7-rc02
0.9.7-rc01
0.9.6
0.9.6-rc03
0.9.6-rc02
0.9.6-rc01
0.9.5
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
README.md
README.md
+1
-1
config_brpc.sh
config_brpc.sh
+8
-2
getting_started.md
docs/cn/getting_started.md
+1
-1
No files found.
README.md
View file @
57834a6b
...
...
@@ -26,7 +26,7 @@ You can use it to:
# Try it!
*
Read
[
overview
](
docs/en/overview.md
)
to know where brpc can be used and its advantages.
*
Read
[
building steps
](
docs/cn/getting_started.md
)
to get started
and play with
[
examples
](
https://github.com/brpc/brpc/tree/master/example/
)
.
*
Read
[
getting started
](
docs/cn/getting_started.md
)
for building steps
and play with
[
examples
](
https://github.com/brpc/brpc/tree/master/example/
)
.
*
Docs:
*
[
Performance benchmark
](
docs/cn/benchmark.md
)
*
[
bvar
](
docs/en/bvar.md
)
...
...
This diff is collapsed.
Click to expand it.
config_brpc.sh
View file @
57834a6b
...
...
@@ -31,11 +31,17 @@ if [ $? != 0 ] ; then >&2 $ECHO "Terminating..."; exit 1 ; fi
# Note the quotes around `$TEMP': they are essential!
eval set
--
"
$TEMP
"
if
[
"
$SYSTEM
"
=
"Darwin"
]
;
then
REALPATH
=
realpath
else
REALPATH
=
"readlink -f"
fi
# Convert to abspath always so that generated mk is include-able from everywhere
while
true
;
do
case
"
$1
"
in
--headers
)
HDRS_IN
=
"
$(
realpath
$2
)
"
;
shift
2
;;
--libs
)
LIBS_IN
=
"
$(
realpath
$2
)
"
;
shift
2
;;
--headers
)
HDRS_IN
=
"
$(
${
REALPATH
}
$2
)
"
;
shift
2
;;
--libs
)
LIBS_IN
=
"
$(
${
REALPATH
}
$2
)
"
;
shift
2
;;
--cc
)
CC
=
$2
;
shift
2
;;
--cxx
)
CXX
=
$2
;
shift
2
;;
--with-glog
)
WITH_GLOG
=
1
;
shift
1
;;
...
...
This diff is collapsed.
Click to expand it.
docs/cn/getting_started.md
View file @
57834a6b
...
...
@@ -25,7 +25,7 @@ $ sudo apt-get install git g++ make libssl-dev
Install
[
gflags
](
https://github.com/gflags/gflags
)
,
[
protobuf
](
https://github.com/google/protobuf
)
,
[
leveldb
](
https://github.com/google/leveldb
)
:
```
$ sudo apt-get install
realpath
libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
$ sudo apt-get install libgflags-dev libprotobuf-dev libprotoc-dev protobuf-compiler libleveldb-dev
```
If you need to statically link leveldb:
...
...
This diff is collapsed.
Click to expand it.
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