From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: steven.shi@intel.com) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by groups.io with SMTP; Mon, 17 Jun 2019 01:16:26 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Jun 2019 01:16:25 -0700 X-ExtLoop1: 1 Received: from jshi19-mobl.ccr.corp.intel.com ([10.254.215.142]) by fmsmga005.fm.intel.com with ESMTP; 17 Jun 2019 01:16:24 -0700 From: "Steven Shi" To: devel@edk2.groups.io Cc: liming.gao@intel.com, bob.c.feng@intel.com, christian.rodriguez@intel.com Subject: [PATCH v3 0/1] BaseTools: Cannot store library cache of different arch together Date: Mon, 17 Jun 2019 16:16:17 +0800 Message-Id: <20190617081618.23488-1-steven.shi@intel.com> X-Mailer: git-send-email 2.17.1.windows.2 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