diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-02-05 14:14:07 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-02-09 08:33:46 +0800 |
commit | 2052cb675f1fdbc77f916422fdf5c2da29741169 (patch) | |
tree | 1fc9a12679ff5b77654fe774ab6ca6bc0ac747ba /BaseTools/Conf/target.template | |
parent | c0d221a348543a4b296a64239826090a167b16ed (diff) | |
download | edk2-2052cb675f1fdbc77f916422fdf5c2da29741169.zip edk2-2052cb675f1fdbc77f916422fdf5c2da29741169.tar.gz edk2-2052cb675f1fdbc77f916422fdf5c2da29741169.tar.bz2 |
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=775
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Conf/target.template')
-rw-r--r-- | BaseTools/Conf/target.template | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/BaseTools/Conf/target.template b/BaseTools/Conf/target.template index 787fc64..e5c31fe 100644 --- a/BaseTools/Conf/target.template +++ b/BaseTools/Conf/target.template @@ -1,5 +1,5 @@ #
-# Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -59,10 +59,14 @@ TOOL_CHAIN_CONF = Conf/tools_def.txt # used for the build. The list uses space character separation.
TOOL_CHAIN_TAG = 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 than 2 means disable multithread build.
-MAX_CONCURRENT_THREAD_NUMBER = 1
+# MAX_CONCURRENT_THREAD_NUMBER NUMBER Optional The number of concurrent threads. If not specified or set
+# to zero, tool automatically detect number of processor
+# threads. Recommend to set this value to one less than the
+# number of your computer cores or CPUs. When value set to 1,
+# means disable multi-thread build, value set to more than 1,
+# means user specify the thread number to build. Not specify
+# the default value in this file.
+# MAX_CONCURRENT_THREAD_NUMBER = 1
# BUILD_RULE_CONF Filename Optional Specify the file name to use for the build rules that are followed
|