public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Liming Gao" <liming.gao@intel.com>
To: "Feng, Bob C" <bob.c.feng@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: [edk2-devel] [Patch 1/3] BaseTools: Fixed the build fail on Linux with --genfds-multi-thread
Date: Tue, 10 Sep 2019 15:08:20 +0000	[thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E4F664C@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <08650203BA1BD64D8AD9B6D5D74A85D161532AD3@SHSMSX104.ccr.corp.intel.com>

OK. I understand this case. 

> -----Original Message-----
> From: Feng, Bob C
> Sent: Monday, September 9, 2019 4:00 PM
> To: Gao, Liming <liming.gao@intel.com>; devel@edk2.groups.io
> Subject: RE: [edk2-devel] [Patch 1/3] BaseTools: Fixed the build fail on Linux with --genfds-multi-thread
> 
> For the case that the Non-Hii Driver does not generate .offset file for uni string offset.
> 
> -----Original Message-----
> From: Gao, Liming
> Sent: Monday, September 9, 2019 3:46 PM
> To: devel@edk2.groups.io; Feng, Bob C <bob.c.feng@intel.com>
> Subject: RE: [edk2-devel] [Patch 1/3] BaseTools: Fixed the build fail on Linux with --genfds-multi-thread
> 
> Bob:
>   What case will call GenSec without the exist file?
> 
> Thanks
> Liming
> >-----Original Message-----
> >From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of
> >Bob Feng
> >Sent: Friday, September 06, 2019 9:23 PM
> >To: devel@edk2.groups.io
> >Cc: Gao, Liming <liming.gao@intel.com>; Feng, Bob C
> ><bob.c.feng@intel.com>
> >Subject: [edk2-devel] [Patch 1/3] BaseTools: Fixed the build fail on
> >Linux with - -genfds-multi-thread
> >
> >BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1302
> >
> >If GenSec input file not exist, the related command will fail and make
> >will stop on Linux. GenSec input file is allow to be non-existent.
> >
> >This patch is to let "make" continue if gensec input file not exist.
> >
> >Cc: Liming Gao <liming.gao@intel.com>
> >Signed-off-by: Bob Feng <bob.c.feng@intel.com>
> >---
> > BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> >diff --git a/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
> >b/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
> >index 037828ea1cca..0f691ae52420 100644
> >--- a/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
> >+++ b/BaseTools/Source/Python/GenFds/GenFdsGlobalVariable.py
> >@@ -487,11 +487,11 @@ class GenFdsGlobalVariable:
> >             SaveFileOnChange(CommandFile, ' '.join(Cmd), False)
> >             if IsMakefile:
> >                 if GlobalData.gGlobalDefines.get("FAMILY") == "MSFT":
> >                     Cmd = ['if', 'exist', Input[0]] + Cmd
> >                 else:
> >-                    Cmd = ['test', '-e', Input[0], "&&"] + Cmd
> >+                    Cmd = ['-test', '-e', Input[0], "&&"] + Cmd
> >                 if ' '.join(Cmd).strip() not in GenFdsGlobalVariable.SecCmdList:
> >                     GenFdsGlobalVariable.SecCmdList.append(' '.join(Cmd).strip())
> >             elif GenFdsGlobalVariable.NeedsUpdate(Output, list(Input)
> >+
> >[CommandFile]):
> >                 GenFdsGlobalVariable.DebugLogger(EdkLogger.DEBUG_5,
> >"%s needs update because of newer %s" % (Output, Input))
> >                 GenFdsGlobalVariable.CallExternalTool(Cmd, "Failed to
> >generate
> >section")
> >--
> >2.20.1.windows.1
> >
> >
> >


  reply	other threads:[~2019-09-10 15:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06 13:22 [Patch 0/3 V2]Enable --genfds-multi-thread to default build Bob Feng
2019-09-06 13:22 ` [Patch 1/3] BaseTools: Fixed the build fail on Linux with --genfds-multi-thread Bob Feng
2019-09-09  7:46   ` [edk2-devel] " Liming Gao
2019-09-09  8:00     ` Bob Feng
2019-09-10 15:08       ` Liming Gao [this message]
2019-09-06 13:22 ` [Patch 2/3] BaseTools: Enable --genfds-multi-thread to default build Bob Feng
2019-09-06 13:22 ` [Patch 3/3] BaseTools: Fixed the bug of multi-thread genffs for override inf Bob Feng
2019-09-10 15:10 ` [edk2-devel] [Patch 0/3 V2]Enable --genfds-multi-thread to default build Liming Gao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A89E2EF3DFEDB4C8BFDE51014F606A14E4F664C@SHSMSX104.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox