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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user