-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve brpccmake #11842
Improve brpccmake #11842
Conversation
cmake/external/openssl.cmake
Outdated
INSTALL_DIR ${OPENSSL_INSTALL_DIR} | ||
CONFIGURE_COMMAND ./config -fPIC no-shared --prefix=${OPENSSL_INSTALL_DIR} | ||
BUILD_IN_SOURCE 1 | ||
BUILD_COMMAND $(MAKE) -j 12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can use make -j
to use all the cores.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
cmake/external/openssl.cmake
Outdated
# limitations under the License. | ||
# | ||
|
||
IF(MOBILE_INFERENCE OR NOT WITH_DISTRIBUTE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use the openssl package in the OS like yum install openssl-devel
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
# If minimal .a is need, you can set WITH_DEBUG_SYMBOLS=OFF | ||
ExternalProject_Add( | ||
extern_brpc | ||
${EXTERNAL_PROJECT_LOG_ARGS} | ||
GIT_REPOSITORY "https://github.com/brpc/brpc" | ||
GIT_TAG "6d153dd7ff00f960ae6895c9c5fff0ce9f07aff2" | ||
GIT_REPOSITORY "https://github.com/gongweibao/brpc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add TODO here that we should change to brpc repo once they are updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
No description provided.