Hi Liming, User can override the BinCache by set BINARY_CACHE_PATH environment variable, see below code in the patch. The BinCache is only used if user doesn't set the binary cache path variable.
+@if not defined BINARY_CACHE_PATH ( + echo Info: BINARY_CACHE_PATH is empty, use BinCache as default + SET BINARY_CACHE_PATH=BinCache +) + Thanks Steven Shi > -----Original Message----- > From: Gao, Liming > Sent: Thursday, May 9, 2019 11:37 AM > To: Shi, Steven <steven....@intel.com>; devel@edk2.groups.io > Cc: Chiu, Chasel <chasel.c...@intel.com>; Lu, Shifei A > <shifei.a...@intel.com>; > Bi, Dandan <dandan...@intel.com>; Kubacki, Michael A > <michael.a.kuba...@intel.com> > Subject: RE: [PATCH 0/2] Add batch option to support build Binary Cache > > Steven: > Could you let user specify BinCache directory instead of hard code name? > > Thanks > Liming > > -----Original Message----- > > From: Shi, Steven > > Sent: Thursday, May 9, 2019 11:21 AM > > To: devel@edk2.groups.io > > Cc: Chiu, Chasel <chasel.c...@intel.com>; Lu, Shifei A > <shifei.a...@intel.com>; Gao, Liming <liming....@intel.com>; Bi, Dandan > > <dandan...@intel.com>; Kubacki, Michael A <michael.a.kuba...@intel.com> > > Subject: [PATCH 0/2] Add batch option to support build Binary Cache > > > > This patch serial is to extend the options in the Kabylake and Purley > > build batch file to support build Binary Cache produce and consume switch. > > > > > > Steven Shi (2): > > KabylakeOpenBoardPkg/KabylakeRvp3: Extend build to support Binary > > Cache > > PurleyOpenBoardPkg/BoardMtOlympus: Extend build to support Binary > > Cache > > > > .../KabylakeOpenBoardPkg/KabylakeRvp3/bld.bat | 24 +++++++++++++++++- > - > > .../PurleyOpenBoardPkg/BoardMtOlympus/bld.bat | 18 ++++++++++++-- > > .../BoardMtOlympus/prebuild.bat | 4 ++-- > > 3 files changed, 40 insertions(+), 6 deletions(-) > > > > -- > > 2.17.1.windows.2 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#40245): https://edk2.groups.io/g/devel/message/40245 Mute This Topic: https://groups.io/mt/31551299/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-