Skip to content
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

build: add new FLB_MINIMAL cmake option to disable all plugins #8935

Merged
merged 3 commits into from
Jun 10, 2024
Merged

Conversation

edsiper
Copy link
Member

@edsiper edsiper commented Jun 10, 2024

This patch introduces a new CMake option called FLB_MINIMAL that disable all plugins (inputs, processors, filters and outputs), allowing to enable manually the desired ones, e.g.: if you only want stdin and stdout plugins, you simply do:

cd build/
cmake -DFLB_MINIMAL=on -DFLB_IN_STDIN=on -DFLB_OUT_STDOUT=on ../

As part of this change, the plugins options list has been moved to the new path cmake/plugins_options.cmake.


Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

Signed-off-by: Eduardo Silva <eduardo@calyptia.com>
Signed-off-by: Eduardo Silva <eduardo@calyptia.com>
This patch introduces a new CMake option FLB_MINIMAL that disable all
plugins (inputs, processors, filters and outputs) allowing to eanble manually
the desired ones, e.g: if you only want stdin and stdout plugins you simply do:

  cd build/
  cmake -DFLB_MINIMAL=on -DFLB_IN_STDIN=on -DFLB_OUT_STDOUT=on ../

As part of this change, the plugins options list has been moved to the
new path cmake/plugins_options.cmake.

Signed-off-by: Eduardo Silva <eduardo@calyptia.com>
@edsiper edsiper merged commit cdbfe4c into master Jun 10, 2024
38 checks passed
@edsiper edsiper deleted the minimal branch June 10, 2024 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant