[edk2-devel] [PATCH 0/2] Add batch option to support build Binary Cache

Steven Shi posted 2 patches 4 years, 11 months ago
Failed in applying to current master (apply log)
.../KabylakeOpenBoardPkg/KabylakeRvp3/bld.bat | 24 +++++++++++++++++--
.../PurleyOpenBoardPkg/BoardMtOlympus/bld.bat | 18 ++++++++++++--
.../BoardMtOlympus/prebuild.bat               |  4 ++--
3 files changed, 40 insertions(+), 6 deletions(-)
[edk2-devel] [PATCH 0/2] Add batch option to support build Binary Cache
Posted by Steven Shi 4 years, 11 months ago
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 (#40231): https://edk2.groups.io/g/devel/message/40231
Mute This Topic: https://groups.io/mt/31551299/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH 0/2] Add batch option to support build Binary Cache
Posted by Liming Gao 4 years, 11 months ago
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.chiu@intel.com>; Lu, Shifei A <shifei.a.lu@intel.com>; Gao, Liming <liming.gao@intel.com>; Bi, Dandan
> <dandan.bi@intel.com>; Kubacki, Michael A <michael.a.kubacki@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 (#40239): https://edk2.groups.io/g/devel/message/40239
Mute This Topic: https://groups.io/mt/31551299/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH 0/2] Add batch option to support build Binary Cache
Posted by Steven Shi 4 years, 11 months ago
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.shi@intel.com>; devel@edk2.groups.io
> Cc: Chiu, Chasel <chasel.chiu@intel.com>; Lu, Shifei A <shifei.a.lu@intel.com>;
> Bi, Dandan <dandan.bi@intel.com>; Kubacki, Michael A
> <michael.a.kubacki@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.chiu@intel.com>; Lu, Shifei A
> <shifei.a.lu@intel.com>; Gao, Liming <liming.gao@intel.com>; Bi, Dandan
> > <dandan.bi@intel.com>; Kubacki, Michael A <michael.a.kubacki@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/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH 0/2] Add batch option to support build Binary Cache
Posted by Kubacki, Michael A 4 years, 11 months ago
Hi Steven,

We have Python build scripts now and those need to be
updated with this change. The batch scripts will be deleted
soon and only exist at the moment for a brief grace period.
Please update the Python scripts.

Also, update the Python build section in Readme.md to
describe this change including how the user can change
the binary cache path.

Thanks,
Michael

> -----Original Message-----
> From: Shi, Steven
> Sent: Wednesday, May 8, 2019 8:21 PM
> To: devel@edk2.groups.io
> Cc: Chiu, Chasel <chasel.chiu@intel.com>; Lu, Shifei A
> <shifei.a.lu@intel.com>; Gao, Liming <liming.gao@intel.com>; Bi, Dandan
> <dandan.bi@intel.com>; Kubacki, Michael A <michael.a.kubacki@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 (#40449): https://edk2.groups.io/g/devel/message/40449
Mute This Topic: https://groups.io/mt/31551299/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-