2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Initial implementation of dynamic response files.

This implements the ability for response file "@()" substitution to
dynamically adjust to either expand the content or create the response
file depending on the possible command line length. This should
reduce the create of such response temp files improving build
performance.
This commit is contained in:
Rene Rivera
2020-12-13 21:30:03 -06:00
parent 550f99c846
commit e206f0d602
18 changed files with 785 additions and 718 deletions

View File

@@ -89,7 +89,7 @@ int exec_check
return is_raw_cmd
? EXEC_CHECK_OK
: check_cmd_for_too_long_lines( command->value, MAXLINE, error_length,
: check_cmd_for_too_long_lines( command->value, shell_maxline(), error_length,
error_max_length );
}
@@ -415,6 +415,11 @@ clock_t get_cpu_time()
return result;
}
int32_t shell_maxline()
{
return MAXLINE;
}
# endif /* VMS */