Title: [124472] trunk/Tools
- Revision
- 124472
- Author
- [email protected]
- Date
- 2012-08-02 09:53:21 -0700 (Thu, 02 Aug 2012)
Log Message
[GTK] make sometimes using a single core
https://bugs.webkit.org/show_bug.cgi?id=92998
Reviewed by Martin Robinson.
In the GTK 64-bit Release buildbot some builds use a single core
for the make process. I suspect this is because in those cases
nproc reports a single core available. The proposed solution is to
always rely on all the cores available in the machine.
* Scripts/webkitdirs.pm:
(determineNumberOfCPUs):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (124471 => 124472)
--- trunk/Tools/ChangeLog 2012-08-02 16:48:33 UTC (rev 124471)
+++ trunk/Tools/ChangeLog 2012-08-02 16:53:21 UTC (rev 124472)
@@ -1,3 +1,18 @@
+2012-08-02 Philippe Normand <[email protected]>
+
+ [GTK] make sometimes using a single core
+ https://bugs.webkit.org/show_bug.cgi?id=92998
+
+ Reviewed by Martin Robinson.
+
+ In the GTK 64-bit Release buildbot some builds use a single core
+ for the make process. I suspect this is because in those cases
+ nproc reports a single core available. The proposed solution is to
+ always rely on all the cores available in the machine.
+
+ * Scripts/webkitdirs.pm:
+ (determineNumberOfCPUs):
+
2012-08-02 Adam Barth <[email protected]>
Re-land http://trac.webkit.org/changeset/94441 now that lforschler is ready.
Modified: trunk/Tools/Scripts/webkitdirs.pm (124471 => 124472)
--- trunk/Tools/Scripts/webkitdirs.pm 2012-08-02 16:48:33 UTC (rev 124471)
+++ trunk/Tools/Scripts/webkitdirs.pm 2012-08-02 16:53:21 UTC (rev 124472)
@@ -351,7 +351,7 @@
} elsif (isLinux()) {
# First try the nproc utility, if it exists. If we get no
# results fall back to just interpretting /proc directly.
- chomp($numberOfCPUs = `nproc 2> /dev/null`);
+ chomp($numberOfCPUs = `nproc --all 2> /dev/null`);
if ($numberOfCPUs eq "") {
$numberOfCPUs = (grep /processor/, `cat /proc/cpuinfo`);
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes