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

Change default generator timeout to infinite #7718

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,8 @@ gengen
generation, such as `no_asserts` and `no_runtime`, are ignored.

-t Timeout for the Generator to run, in seconds; mainly useful to ensure that
bugs and/or degenerate cases don't stall build systems. Defaults to 900
(=15 minutes). Specify 0 to allow ~infinite time.
bugs and/or degenerate cases don't stall build systems. Specify 0 to allow
infinite time. Defaults to infinite.

-v If nonzero, log the path to all generated files to stdout.
)INLINE_CODE";
Expand All @@ -684,7 +684,7 @@ gengen
{"-p", ""},
{"-r", ""},
{"-v", "0"},
{"-t", "900"}, // 15 minutes
{"-t", "0"},
};

ExecuteGeneratorArgs args;
Expand Down