-
-
Notifications
You must be signed in to change notification settings - Fork 340
Use cmake to build librdkafka, add helper function for SPCConfigUtil #955
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
Conversation
Removed deduplication of pkg-config libraries.
|
Looks like we don't need to patch or pass redundant variables to librdkafka if we use cmake build. I'll push cmake version later. And btw I added some helper function in SPCConfigUtil to make it more convenient to use. |
|
Feel free to merge if it is good. |
| protected function build(): void | ||
| { | ||
| UnixAutoconfExecutor::create($this) | ||
| ->appendEnv(['CFLAGS' => '-Wno-int-conversion -Wno-unused-but-set-variable -Wno-unused-variable']) |
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.
please test with zig and clang on linux, both failed witho -Wno-int-conversion last time
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 tested with native-native-musl and native-native-gnu.2.17 target. It works well.
What does this PR do?
closes #954