From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.24; helo=mga09.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 864FB21F0DA41 for ; Mon, 5 Feb 2018 20:26:07 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Feb 2018 20:31:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,467,1511856000"; d="scan'208";a="201669724" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 05 Feb 2018 20:31:47 -0800 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 5 Feb 2018 20:31:48 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 5 Feb 2018 20:31:48 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.125]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.253]) with mapi id 14.03.0319.002; Tue, 6 Feb 2018 12:31:46 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [Patch] BaseTools: not specified value of MAX_CONCURRENT_THREAD_NUMBER Thread-Index: AQHTnkihqVSOK4cJKkSWXZJwyKCTt6OWyiGQ Date: Tue, 6 Feb 2018 04:31:46 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1C7CD5@SHSMSX104.ccr.corp.intel.com> References: <1517811271-8800-1-git-send-email-yonghong.zhu@intel.com> In-Reply-To: <1517811271-8800-1-git-send-email-yonghong.zhu@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] BaseTools: not specified value of MAX_CONCURRENT_THREAD_NUMBER X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Feb 2018 04:26:07 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Yonghong: Please add the description for this behavior in target.template.=20 Thanks Liming >-----Original Message----- >From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >Yonghong Zhu >Sent: Monday, February 05, 2018 2:15 PM >To: edk2-devel@lists.01.org >Subject: [edk2] [Patch] BaseTools: not specified value of >MAX_CONCURRENT_THREAD_NUMBER > >when MAX_CONCURRENT_THREAD_NUMBER is not specified, tool will >automatically detect number of processor threads. > >Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=3D775 >Contributed-under: TianoCore Contribution Agreement 1.1 >Signed-off-by: Yonghong Zhu >--- > BaseTools/Conf/target.template | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > >diff --git a/BaseTools/Conf/target.template >b/BaseTools/Conf/target.template >index 787fc64..d4b929d 100644 >--- a/BaseTools/Conf/target.template >+++ b/BaseTools/Conf/target.template >@@ -1,7 +1,7 @@ > # >-# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
>+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
> # > # This program and the accompanying materials > # are licensed and made available under the terms and conditions of the = BSD >License > # which accompanies this distribution. The full text of the license may= be >found at > # http://opensource.org/licenses/bsd-license.php >@@ -57,14 +57,15 @@ TOOL_CHAIN_CONF =3D Conf/tools_def.txt > # TAGNAME List Optional Specify the name(s) of the = tools_def.txt >TagName to use. > # If not specified, all appli= cable TagName tools will be > # used for the build. The li= st uses space character >separation. > TOOL_CHAIN_TAG =3D MYTOOLS > >-# MAX_CONCURRENT_THREAD_NUMBER NUMBER Optional The number >of concurrent threads. Recommend to set this >-# value to one more than = the number of your >compurter >-# cores or CPUs. Less tha= n 2 means disable >multithread build. >-MAX_CONCURRENT_THREAD_NUMBER =3D 1 >+# MAX_CONCURRENT_THREAD_NUMBER NUMBER Optional The number >of concurrent threads. The default, if not >+# specified or set to zer= o, tool automatically detect >number >+# of processor threads. R= ecommend to set this value >to one >+# more than the number of= your compurter cores or >CPUs. >+# MAX_CONCURRENT_THREAD_NUMBER =3D 1 > > > # BUILD_RULE_CONF Filename Optional Specify the file name to use for th= e >build rules that are followed > # when generating Makefiles. If not s= pecified, the file: > # WORKSPACE/Conf/build_rule.txt will = be used >-- >2.6.1.windows.1 > >_______________________________________________ >edk2-devel mailing list >edk2-devel@lists.01.org >https://lists.01.org/mailman/listinfo/edk2-devel