audk/BaseTools/Source/Python/AutoGen
Shi, Steven c340c5bd1b BaseTools: Change the [Arch][Name] module key in Build cache
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1951

Current build cache use the module's [self.Arch][self.Name]
info as the ModuleAutoGen object key in hash list and dictionary.
The [self.Arch][self.Name] is not safe as the module key because
there could be two modules with same module name and arch name in
one platform. E.g. A platform can override a module or library
instance in another different path, the overriding module can has
the same module name and arch name as the original one.
Directly use the ModuleAutoGen obj self as the key, because
the obj __hash__ and __repr__ attributes already contain the
full path and arch name.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Steven Shi <steven.shi@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2019-08-20 14:06:06 +08:00
..
AutoGen.py BaseTools: Decouple AutoGen Objects 2019-08-09 23:15:52 +08:00
AutoGenWorker.py BaseTools: Print first cache missing file for build cachle 2019-08-20 14:06:06 +08:00
BuildEngine.py BaseTools: Singleton the object to handle build conf file 2019-08-09 23:15:51 +08:00
CacheIR.py BaseTools: Improve the cache hit in the edk2 build cache 2019-08-20 14:06:05 +08:00
DataPipe.py BaseTools: Improve the cache hit in the edk2 build cache 2019-08-20 14:06:05 +08:00
GenC.py BaseTools: Enable Multiple Process AutoGen 2019-08-09 23:15:53 +08:00
GenDepex.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenMake.py BaseTools: Change the [Arch][Name] module key in Build cache 2019-08-20 14:06:06 +08:00
GenPcdDb.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenVar.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
IdfClassObject.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
InfSectionParser.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ModuleAutoGen.py BaseTools: Print first cache missing file for build cachle 2019-08-20 14:06:06 +08:00
ModuleAutoGenHelper.py BaseTools: Decouple AutoGen Objects 2019-08-09 23:15:52 +08:00
PlatformAutoGen.py BaseTools: Fixed issue of incorrect Module Unique Name 2019-08-19 09:06:14 +08:00
StrGather.py BaseTools:Add extra debugging message 2019-08-01 15:36:48 +08:00
UniClassObject.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ValidCheckingInfoObject.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
WorkspaceAutoGen.py BaseTools: Enable Multiple Process AutoGen 2019-08-09 23:15:53 +08:00
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00