From nobody Sun May 5 15:44:02 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+42347+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42347+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1560414727; cv=none; d=zoho.com; s=zohoarc; b=J3mxG7CcB9I7m5V+nuzrov2XH6KOvhju3tfdYsruPcGhdwgESETYi7Aj74dCVkbWxfPNdASJ3lbFpy99BHJYvOMzZPOfp9lCR5uhD2dgql6BNFnni7+v5Xm++dZt2eKJ0bb9NdXgqsIpw2CdFYmNs8u1nmTJN6Vo0ifnOhoCMBw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560414727; h=Cc:Date:From:List-Id:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=mLR9SlvvhJQgx1BQq1Y6zU/6CgIxN61k3KNMtH13/KU=; b=E6MFoASNac4zrC9TWAfIUjsEiUxkCa59KS+MuTjdEUmKIRo69/Vr0pnf9Z+S76X1Tzt5KcKDE6O+4Wu5JHiErCsODYLnAE+GazJqlFj8uTUI44aQZLq3oWQC8YYxiLoesDjIXfsCfRJxOkULHbjatUA3q4fNcghRVdElsmrkUyc= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+42347+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1560414727197186.92211817426892; Thu, 13 Jun 2019 01:32:07 -0700 (PDT) Return-Path: X-Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by groups.io with SMTP; Thu, 13 Jun 2019 01:32:04 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2019 01:32:03 -0700 X-ExtLoop1: 1 X-Received: from cchiu4-mobl1.gar.corp.intel.com ([10.5.240.33]) by fmsmga007.fm.intel.com with ESMTP; 13 Jun 2019 01:32:02 -0700 From: "Chiu, Chasel" To: devel@edk2.groups.io Cc: Michael Kubacki , Nate DeSimone , Liming Gao , Bob Feng Subject: [edk2-devel] [PATCH v2] Platform/Intel: Dynamic NUMBER_OF_PROCESSORS in build. Date: Thu, 13 Jun 2019 16:32:00 +0800 Message-Id: <20190613083200.11160-1-chasel.chiu@intel.com> Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,chasel.chiu@intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1560414724; bh=Kc7I/7tJxhJLwDZV+oyv5ZkXFvDzHwZYOjl3PH+lHaM=; h=Cc:Date:From:Reply-To:Subject:To; b=KTQX4v5AIu9qI6Fxt6CNrwZEAni0KRQCV/c2Ajj+lTZV3bvwQjIvNXSWEok9l+1GZtd 9FU1mzzCkOxukZw4hpj6oYiFl5sIcDfUzIDQTDI0xl4a4B5H6upRCs4JBdJv5kV/JPp4F MOWfAl2o/g1a4PAB0FNwuXVr49Y/Nj8fuII= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1913 To improve build performance by default the maximum processors should be used for building. NUMBER_OF_PROCESSORS in build.cfg is set to 0 so BaseTools can utilize maximum processors for build. Test: tried NUMBER_OF_PROCESSORS 0 and 1 cases and confirmed the build time is half with 0 case. Cc: Michael Kubacki Cc: Nate DeSimone Cc: Liming Gao Cc: Bob Feng Signed-off-by: Chasel Chiu Reviewed-by: Bob Feng Reviewed-by: Nate DeSimone --- Platform/Intel/build.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/Intel/build.cfg b/Platform/Intel/build.cfg index 6c23e5eabc..fc6e4fe824 100644 --- a/Platform/Intel/build.cfg +++ b/Platform/Intel/build.cfg @@ -46,7 +46,7 @@ FSP_TEST_RELEASE =3D FALSE SECURE_BOOT_ENABLE =3D FALSE REBUILD_MODE =3D BUILD_ROM_ONLY =3D -NUMBER_OF_PROCESSORS =3D 1 +NUMBER_OF_PROCESSORS =3D 0 =20 =20 [PLATFORMS] --=20 2.13.3.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#42347): https://edk2.groups.io/g/devel/message/42347 Mute This Topic: https://groups.io/mt/32050132/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-