From nobody Sat May 4 14:38:47 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+42346+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+42346+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1560414373; cv=none; d=zoho.com; s=zohoarc; b=m69PqqKfUOBKg/2dsCNRXnfVky7njy65etFnuguHAuvfhYr/yTu4f1rDuEyDWBFQd2E+31TR/VHeq0+c194mpDEpTHkk/8AYE3J56Fjxjriz/1zIzyyJFS/kC1JL7rlZmwLf2K1s8xh9nNPjIYfwMIEbLq9VT8gh4c31RVYejC4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560414373; h=Cc:Date:From:List-Id:List-Unsubscribe:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=IjM0ZGx+2keBMVKvSVb6YZb2RnWDE2nakntIgST0pvw=; b=k3+NThHpF8D/BkJzfhSPwyimaaiaKdAH0UkkTjUJoKGqbpxa8ZlApZuzm3rNzplSD6TOiU9ENox2JYvRUBtO9LMBN8bwbso6bK1rAC4o5ZEdMuJ/SDNprMwPLmicWAb8h/X0S3Fuxlas13poZgCCBbniKu9odgjgAIIQZymc30E= 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+42346+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 1560414373398782.7963465706063; Thu, 13 Jun 2019 01:26:13 -0700 (PDT) Return-Path: X-Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by groups.io with SMTP; Thu, 13 Jun 2019 01:26:12 -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 fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Jun 2019 01:26:12 -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:26:11 -0700 From: "Chiu, Chasel" To: devel@edk2.groups.io Cc: Michael Kubacki , Nate DeSimone , Liming Gao Subject: [edk2-devel] [PATCH] Platform/Intel: Dynamic NUMBER_OF_PROCESSORS in build. Date: Thu, 13 Jun 2019 16:25:48 +0800 Message-Id: <20190613082548.16476-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=1560414372; bh=ZX2Xb/HOwlE8n9JhosaObnqBIBzxcz7D59mDCdZNHQo=; h=Cc:Date:From:Reply-To:Subject:To; b=LkLUq9jesX1u1jpwoEt03eP+6KeCK/nhkVrf2Gwd8xggi2u3AvvRXCfDTwQS5YKT4is sA8Eskpklh9u7snvG9QcXK69dCmh/7QnotYmKSPscVNCs+OguYXxQ9XzV3+Qgm5VlTDIP olFEyopHNR6jVtNH6w74b/2XpsKr13DwUxE= 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 Signed-off-by: Chasel Chiu --- 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 (#42346): https://edk2.groups.io/g/devel/message/42346 Mute This Topic: https://groups.io/mt/32049549/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-