Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Issue 501153: Simplified counting CPUs. (Closed)

Created:
11 years ago by Alexey Marinichev
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_googlegroups.com
Visibility:
Public.

Description

Simplified counting CPUs.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M src/scripts/build_chrome.sh View 1 chunk +1 line, -1 line 0 comments Download
M src/scripts/build_kernel.sh View 1 chunk +1 line, -1 line 0 comments Download
M src/scripts/build_platform_packages.sh View 1 chunk +1 line, -1 line 0 comments Download
M src/scripts/common.sh View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Alexey Marinichev
11 years ago (2009-12-21 19:33:13 UTC) #1
Kenneth Waters
lgtm.
11 years ago (2009-12-21 19:37:03 UTC) #2
tgardner
11 years ago (2009-12-21 19:47:24 UTC) #3
On 2009/12/21 19:37:03, kwaters wrote:
> lgtm.

The Karmic kernel build uses 'getconf _NPROCESSORS_ONLN' (if you consider that
more elegant). For example,

CONCURRENCY_LEVEL := $(shell expr `getconf _NPROCESSORS_ONLN` \* 1)

Powered by Google App Engine
This is Rietveld 408576698