Bug 79227 - build-webkit should use environment variable at number of CPU detection on all platform
Summary: build-webkit should use environment variable at number of CPU detection on al...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-22 05:25 PST by Gabor Rapcsanyi
Modified: 2012-02-22 10:10 PST (History)
5 users (show)

See Also:


Attachments
proposed patch (1.92 KB, patch)
2012-02-22 05:50 PST, Gabor Rapcsanyi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Rapcsanyi 2012-02-22 05:25:49 PST
It would be good (mostly for buildbots) if we could set an environment variable to set the number of cpus which the build script will use. For example if we have a server with 24 cores and we have some low priority bots it would be easy just set an environment variable for them.
Comment 1 Gabor Rapcsanyi 2012-02-22 05:35:54 PST
On Qt and Gtk platforms the MAKEFLAGS environment variable is enough for this purpose but Chromium just use --makeargs or determineNumberOfCPUs for fallback. The --makeargs option is good when you compile by hand but not for buildbots.
Comment 2 Gabor Rapcsanyi 2012-02-22 05:50:27 PST
Created attachment 128187 [details]
proposed patch
Comment 3 WebKit Review Bot 2012-02-22 10:10:27 PST
Comment on attachment 128187 [details]
proposed patch

Clearing flags on attachment: 128187

Committed r108513: <http://trac.webkit.org/changeset/108513>
Comment 4 WebKit Review Bot 2012-02-22 10:10:32 PST
All reviewed patches have been landed.  Closing bug.