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
3c1a726f
Commit
3c1a726f
authored
Jun 19, 2019
by
wenweihu86
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update openssl path
parent
f85311d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
config_brpc.sh
config_brpc.sh
+10
-6
getting_started.md
docs/cn/getting_started.md
+1
-1
No files found.
config_brpc.sh
View file @
3c1a726f
...
...
@@ -136,12 +136,16 @@ find_dir_of_header_or_die() {
$ECHO
$dir
}
# User specified path of openssl, if not given it's empty
OPENSSL_LIB
=
$(
find_dir_of_lib ssl
)
# Inconvenient to check these headers in baidu-internal
#PTHREAD_HDR=$(find_dir_of_header_or_die pthread.h)
OPENSSL_HDR
=
$(
find_dir_of_header_or_die openssl/ssl.h
)
if
[
"
$SYSTEM
"
=
"Darwin"
]
;
then
OPENSSL_LIB
=
"/usr/local/opt/openssl/lib"
OPENSSL_HDR
=
"/usr/local/opt/openssl/include"
else
# User specified path of openssl, if not given it's empty
OPENSSL_LIB
=
$(
find_dir_of_lib ssl
)
# Inconvenient to check these headers in baidu-internal
#PTHREAD_HDR=$(find_dir_of_header_or_die pthread.h)
OPENSSL_HDR
=
$(
find_dir_of_header_or_die openssl/ssl.h
)
fi
if
[
$WITH_MESALINK
!=
0
]
;
then
MESALINK_HDR
=
$(
find_dir_of_header_or_die mesalink/openssl/ssl.h
)
...
...
docs/cn/getting_started.md
View file @
3c1a726f
...
...
@@ -278,7 +278,7 @@ git clone https://github.com/google/googletest && cd googletest/googletest && mk
### Compile brpc with config_brpc.sh
git clone brpc, cd into the repo and run
```
shell
$
sh config_brpc.sh
--headers
=
/usr/local
--libs
=
/usr/local
--cc
=
clang
--cxx
=
clang++
$
sh config_brpc.sh
--headers
=
/usr/local
/include
--libs
=
/usr/local/lib
--cc
=
clang
--cxx
=
clang++
$
make
```
To not link debugging symbols, add
`--nodebugsymbols`
and compiled binaries will be much smaller.
...
...
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