FS#11447 - Make not call gcc with no files

Attached to Project: Rockbox
Opened by Frank Gevaerts (fg) - Tuesday, 29 June 2010, 22:05 GMT
Last edited by Frank Gevaerts (fg) - Wednesday, 30 June 2010, 16:40 GMT
Task Type Patches
Category Build environment
Status Closed
Assigned To Björn Stenberg (zagor)
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details sometimes produces lines like "sh-elf-gcc: no input files", especially on systems with many cores and for builds with (relatively) few files.
This is because the slice size is rounded up, which means that in some cases there are leftover slices.

The attached patch changes the slice handling a bit to fix this, and also makes the cores>files checking unnecessary.
This task depends upon

Closed by  Frank Gevaerts (fg)
Wednesday, 30 June 2010, 16:40 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed as r27196