Skip to content

feat: Add option to disable parallel build #2725

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

filzrev
Copy link
Contributor

@filzrev filzrev commented Apr 27, 2025

This PR intended to fix #2721

What's changed in this PR

  1. Add DisableParallelBuild flag to ConfigOptions.
  2. Modify BenchmarkRunnerClean::Run.
    2.1. Add BuildSequential method that build project in sequentially.
    2.2. Add logics to check DisableParallelBuild option. If any of benchmarks contains DisableParallelBuild flag. Use sequential build path instead of parallel build path.

Test
I've manually confirmed that sequential build path is called when specifying WithOptions(ConfigOptions.DisableParallelBuild); on benchmark config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: Add options to disable build in parallel.
1 participant