IDE: external tools: increased pip buffer, issue #18492

git-svn-id: trunk@46322 -
This commit is contained in:
mattias 2014-09-25 10:03:30 +00:00
parent 915c183fdc
commit 804ba9b391
3 changed files with 10 additions and 0 deletions

View File

@ -1582,6 +1582,7 @@ begin
DebuglnThreadLog(['TExternalToolThread.Execute ',Title,' execute ...']);
{$ENDIF}
// now execute
Tool.Process.PipeBufferSize:=Max(Tool.Process.PipeBufferSize,64*1024);
Tool.Process.Execute;
{$IFDEF VerboseExtToolThread}
DebuglnThreadLog(['TExternalToolThread.Execute ',Title,' executing ...']);

View File

@ -73,5 +73,10 @@
<OtherUnitFiles Value="../designer;../packager;../debugger"/>
<UnitOutputDirectory Value="../units/$(TargetCPU)-$(TargetOS)/$(LCLWidgetType)"/>
</SearchPaths>
<Other>
<Verbosity>
<ShowAll Value="True"/>
</Verbosity>
</Other>
</CompilerOptions>
</CONFIG>

View File

@ -6464,6 +6464,7 @@ var
aCompileHint: String;
OldToolStatus: TIDEToolStatus;
IsComplete: Boolean;
StartTime: TDateTime;
begin
Result:=SourceFileMgr.PrepareForCompileWithMsg;
if Result<>mrOk then begin
@ -6682,11 +6683,14 @@ begin
exit;
end;
StartTime:=Now;
Result:=TheCompiler.Compile(Project1,
WorkingDir,CompilerFilename,CompilerParams,
(pbfCleanCompile in Flags) or NeedBuildAllFlag,
pbfSkipLinking in Flags,
pbfSkipAssembler in Flags,aCompileHint);
if ConsoleVerbosity>=0 then
debugln(['TMainIDE.DoBuildProject compiler time in s: ',(Now-StartTime)*86400]);
if Result<>mrOk then begin
// save state, so that next time the project is not compiled clean
Project1.LastCompilerFilename:=CompilerFilename;