V3:
WorkspaceAutoGen does not have the Arch attribute and current Meta-file
of active platform already can make sure the __hash__ value is unique for
WorkspaceAutoGen object. So, only add adds the arch string into the
PlatformAutoGen and ModuleAutoGen __hash_ definitions.
V2:
Follow the Christian suggestion, Still keep the set() usage, but instead to
enahnce the AutoGen object __hash__ definition to be unique by including
the AutoGen object arch string into the __hash_ values.
V1:
Avoid to use the set() as the container to save the library and module objects
Steven Shi (1):
BaseTools: Cannot store library cache of different arch together
BaseTools/Source/Python/AutoGen/AutoGen.py | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
--
2.17.1.windows.2
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#42493): https://edk2.groups.io/g/devel/message/42493
Mute This Topic: https://groups.io/mt/32092689/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-