BaseTools: Enable Multiple Process AutoGen
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1875 Assign the Module AutoGen tasks into multiple sub process. Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Bob Feng <bob.c.feng@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Acked-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -1686,6 +1686,7 @@ class ModuleAutoGen(AutoGen):
|
||||
if not self.IsLibrary and CreateLibraryMakeFile:
|
||||
for LibraryAutoGen in self.LibraryAutoGenList:
|
||||
LibraryAutoGen.CreateMakeFile()
|
||||
|
||||
# Don't enable if hash feature enabled, CanSkip uses timestamps to determine build skipping
|
||||
if not GlobalData.gUseHashCache and self.CanSkip():
|
||||
return
|
||||
@ -1729,7 +1730,6 @@ class ModuleAutoGen(AutoGen):
|
||||
if not self.IsLibrary and CreateLibraryCodeFile:
|
||||
for LibraryAutoGen in self.LibraryAutoGenList:
|
||||
LibraryAutoGen.CreateCodeFile()
|
||||
|
||||
# Don't enable if hash feature enabled, CanSkip uses timestamps to determine build skipping
|
||||
if not GlobalData.gUseHashCache and self.CanSkip():
|
||||
return
|
||||
|
Reference in New Issue
Block a user