# HG changeset patch # User Simon Howkins # Date 1260547674 0 # Node ID 2797c7d55e8ba24127aa3457ecead74dfeedf9fa # Parent cfb15e4d62a400b850df953c91941ae731954e0a Removed drivce space check for platform builds, as there's already one in the FBF anyway, and platform builds are not generally expected to run concurrently (which was the rationale for the check in the bootstrap.) diff -r cfb15e4d62a4 -r 2797c7d55e8b build_platform.pl --- a/build_platform.pl Fri Nov 20 12:43:59 2009 +0000 +++ b/build_platform.pl Fri Dec 11 16:07:54 2009 +0000 @@ -90,21 +90,6 @@ my $sWORKING_DRIVE = find_working_drive(); print "Will use drive $sWORKING_DRIVE as working drive for this build\n"; -if ($bHudson) -{ - my $nProcessors = $ENV{'NUMBER_OF_PROCESSORS'}; - my $diroutput = `dir /-C $sWORKING_DRIVE`; - my $nBytesFree = 0; - $nBytesFree = $1 if ($diroutput =~ /(\d+) bytes free/); - my $nNeededSpace = 10*$nProcessors*1073741824; - #print "Needed space is $nNeededSpace\n"; - if ($nBytesFree < $nNeededSpace) - { - print "ERROR: Available disk space on working drive ($nBytesFree bytes) is not enough to run a package build with Hudson.\n"; - exit(1); - } -} - my $sFbfProjectRev = ''; if ($sFbfProjectRepo =~ m,(.*)#(.*),) {