From patchwork Thu Jan 23 12:31:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 23619 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C4E71218CB for ; Thu, 23 Jan 2014 12:31:40 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id i4sf6905760oah.7 for ; Thu, 23 Jan 2014 04:31:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=VufpbxIPXR69KxjzZixEdxyvxxyboBLvNz9/13LXxp4=; b=E6jPIaI1eccPreOI+fD7QCz+Us2rp67TvfpoZU5EVFxEvt22BoWwB6zD8H7i54RxVX 10Tpq0H7LyMjC7iX1D5smxyESOAfT+X1HvdfW7dRs4ajcb5XXGeVQklBeyweUokWcb93 z8XbhE+oztsi8I3UOyo7HJdo3G9l4RGyEA7Ju98em6FBtfJ5b7nGKBl2o3j/GwevZmVj s5YyEZHQsObBnRFkBlggAn557uLNzeNK6dqubVClMYUv6ryiaoKlXOPsjtA2x5dpbGrP xTzLfra3TGxD3GAeiONCoANE98dRfL2EEicBbhS/ucQbAwdHwEb2pOIMh9PYgUaNGCi6 GVkg== X-Gm-Message-State: ALoCoQn3+p13eVdgoHDElf9aYZEXHWfgVL/goG9r5P8MeKBstpVmBV2KCPRiySB36PLBWuBvtOH3 X-Received: by 10.42.70.142 with SMTP id f14mr2518462icj.6.1390480299956; Thu, 23 Jan 2014 04:31:39 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.97.102 with SMTP id l93ls303185qge.93.gmail; Thu, 23 Jan 2014 04:31:39 -0800 (PST) X-Received: by 10.58.248.198 with SMTP id yo6mr316635vec.40.1390480299787; Thu, 23 Jan 2014 04:31:39 -0800 (PST) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id sj10si6589074vcb.15.2014.01.23.04.31.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 Jan 2014 04:31:39 -0800 (PST) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id ld13so996012vcb.4 for ; Thu, 23 Jan 2014 04:31:39 -0800 (PST) X-Received: by 10.58.200.168 with SMTP id jt8mr4480769vec.30.1390480299706; Thu, 23 Jan 2014 04:31:39 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp22769vcz; Thu, 23 Jan 2014 04:31:39 -0800 (PST) X-Received: by 10.66.118.71 with SMTP id kk7mr7922137pab.14.1390480298833; Thu, 23 Jan 2014 04:31:38 -0800 (PST) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id ef2si6046195pbb.101.2014.01.23.04.31.38 for ; Thu, 23 Jan 2014 04:31:38 -0800 (PST) Received-SPF: pass (google.com: domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 1BCAB6DC8B; Thu, 23 Jan 2014 12:31:36 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-bk0-f52.google.com (mail-bk0-f52.google.com [209.85.214.52]) by mail.openembedded.org (Postfix) with ESMTP id 961E66C742 for ; Thu, 23 Jan 2014 12:31:34 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id e11so330021bkh.11 for ; Thu, 23 Jan 2014 04:31:34 -0800 (PST) X-Received: by 10.205.92.201 with SMTP id br9mr139461bkc.138.1390480294631; Thu, 23 Jan 2014 04:31:34 -0800 (PST) Received: from localhost ([2001:610:612:0:5e51:4fff:fec8:7c15]) by mx.google.com with ESMTPSA id bf8sm8990710bkb.14.2014.01.23.04.31.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jan 2014 04:31:34 -0800 (PST) From: Koen Kooi To: openembedded-core@lists.openembedded.org Date: Thu, 23 Jan 2014 13:31:26 +0100 Message-Id: <1390480286-17368-1-git-send-email-koen.kooi@linaro.org> X-Mailer: git-send-email 1.8.4.2 Cc: Koen Kooi Subject: [OE-core] [PATCH] scons bbclass: enable parallel make X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: koen.kooi@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Scons supports -jX parallel make, so let's use that. A small scale test of a few recipes shows no failures! Signed-off-by: Koen Kooi --- meta/classes/scons.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/scons.bbclass b/meta/classes/scons.bbclass index a07a366..fc0f26b 100644 --- a/meta/classes/scons.bbclass +++ b/meta/classes/scons.bbclass @@ -3,7 +3,7 @@ DEPENDS += "python-scons-native" EXTRA_OESCONS ?= "" scons_do_compile() { - ${STAGING_BINDIR_NATIVE}/scons PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \ + ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} PREFIX=${prefix} prefix=${prefix} ${EXTRA_OESCONS} || \ bbfatal "scons build execution failed." }