-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Clean up dependency on proxygen libs #488
Conversation
Jenkins go |
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.
Awesome work! 👍 I added some inline comments.
dataPath.c_str(), | ||
localIp, | ||
localDataPort); | ||
|
||
{ |
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 explain that the mockserver is not started, how can the latter test run?
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.
We just need the http server.
add_library( | ||
graph_http_obj OBJECT | ||
GraphHttpHandler.cpp | ||
) |
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.
Is there no dependency here?
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.
Just depend on base_obj. Good catch
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.
Here is adding a library, OBJECT library, which shall have no dependencies.
src/meta/CMakeLists.txt
Outdated
) | ||
add_dependencies( | ||
meta_http_handler | ||
base_obj) |
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.
right bracket format
Executables and shared libraries depend on other libraries, while static or OBJECT libraries depend on other headers, not libraries. Now Please refer to this issue #406 . |
Besides, by moving |
Make sense. OBJECT should just depend on the headers. |
Very good. |
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.
👍,I will study hard about cmake.
Unit testing passed. |
1 similar comment
Unit testing passed. |
Unit testing passed. |
* Clean up dependency on proxygen libs * Address comments
* Clean up dependency on proxygen libs * Address comments
* use rcu replace thread local fix storage exit crash format address some comment * fix bug * fix bug fix bug fix bug Co-authored-by: hs.zhang <22708345+cangfengzhs@users.noreply.github.com>
I found the problem when i write a UT with no dependency of proxygen lib.
It is introduced by #210 and #395
Please pay more attention to your dependency. @steppenwolfyuetong @darionyaphet