public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1] uefi-sct/SctPkg: Changed compiler check from greater 5 to equal to 5
@ 2020-12-14 14:35 Joseph Hemann
  2020-12-14 14:59 ` Heinrich Schuchardt
  0 siblings, 1 reply; 3+ messages in thread
From: Joseph Hemann @ 2020-12-14 14:35 UTC (permalink / raw)
  To: devel
  Cc: Joseph Hemann, G Edhaya Chandran, Eric Jin, Irene Park,
	Heinrich Schuchardt, Samer El-Haj-Mahmoud, Stuart Yoder

From: Joseph Hemann <Joseph.heman@arm.com>

gcc compilers versions 5.* also need to be converted from string to integer before testing

Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com>
Cc: Eric Jin <eric.jin@intel.com>
Cc: Irene Park <ipark@nvidia.com>
Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
Cc: Stuart Yoder <Stuart.Yoder@arm.com>
Signed-off-by: Joseph Hemann <Joseph.heman@arm.com>
Change-Id: Ica60b6629f698d5f5c61b861ac4aefcc9cd24b7a
---
 uefi-sct/SctPkg/build.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/uefi-sct/SctPkg/build.sh b/uefi-sct/SctPkg/build.sh
index 37667711..ba9babe7 100755
--- a/uefi-sct/SctPkg/build.sh
+++ b/uefi-sct/SctPkg/build.sh
@@ -56,7 +56,7 @@ function get_gcc_version
 {
 	gcc_version=$($1 -dumpversion)
 
-	if [ ${gcc_version%%.*} -gt 5 ]; then
+	if [ ${gcc_version%%.*} -ge 5 ]; then
 		gcc_version=5
 	fi
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] uefi-sct/SctPkg: Changed compiler check from greater 5 to equal to 5
  2020-12-14 14:35 [PATCH v1] uefi-sct/SctPkg: Changed compiler check from greater 5 to equal to 5 Joseph Hemann
@ 2020-12-14 14:59 ` Heinrich Schuchardt
  2021-01-05 15:18   ` G Edhaya Chandran
  0 siblings, 1 reply; 3+ messages in thread
From: Heinrich Schuchardt @ 2020-12-14 14:59 UTC (permalink / raw)
  To: Joseph Hemann, devel
  Cc: Joseph Hemann, G Edhaya Chandran, Eric Jin, Irene Park,
	Samer El-Haj-Mahmoud, Stuart Yoder

On 14.12.20 15:35, Joseph Hemann wrote:
> From: Joseph Hemann <Joseph.heman@arm.com>
>
> gcc compilers versions 5.* also need to be converted from string to integer before testing
>
> Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com>
> Cc: Eric Jin <eric.jin@intel.com>
> Cc: Irene Park <ipark@nvidia.com>
> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
> Cc: Stuart Yoder <Stuart.Yoder@arm.com>
> Signed-off-by: Joseph Hemann <Joseph.heman@arm.com>
> Change-Id: Ica60b6629f698d5f5c61b861ac4aefcc9cd24b7a

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

> ---
>  uefi-sct/SctPkg/build.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/uefi-sct/SctPkg/build.sh b/uefi-sct/SctPkg/build.sh
> index 37667711..ba9babe7 100755
> --- a/uefi-sct/SctPkg/build.sh
> +++ b/uefi-sct/SctPkg/build.sh
> @@ -56,7 +56,7 @@ function get_gcc_version
>  {
>  	gcc_version=$($1 -dumpversion)
>
> -	if [ ${gcc_version%%.*} -gt 5 ]; then
> +	if [ ${gcc_version%%.*} -ge 5 ]; then
>  		gcc_version=5
>  	fi
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] uefi-sct/SctPkg: Changed compiler check from greater 5 to equal to 5
  2020-12-14 14:59 ` Heinrich Schuchardt
@ 2021-01-05 15:18   ` G Edhaya Chandran
  0 siblings, 0 replies; 3+ messages in thread
From: G Edhaya Chandran @ 2021-01-05 15:18 UTC (permalink / raw)
  To: Heinrich Schuchardt, Joseph Hemann, devel@edk2.groups.io
  Cc: Joseph Hemann, Eric Jin, Irene Park, Samer El-Haj-Mahmoud,
	Stuart Yoder

Reviewed-By: G Edhaya Chandran <edhaya.chandran@arm.com>

> -----Original Message-----
> From: Heinrich Schuchardt <xypron.glpk@gmx.de>
> Sent: 14 December 2020 20:30
> To: Joseph Hemann <Joseph.Hemann@arm.com>; devel@edk2.groups.io
> Cc: Joseph Hemann <Joseph.heman@arm.com>; G Edhaya Chandran
> <Edhaya.Chandran@arm.com>; Eric Jin <eric.jin@intel.com>; Irene Park
> <ipark@nvidia.com>; Samer El-Haj-Mahmoud <Samer.El-Haj-
> Mahmoud@arm.com>; Stuart Yoder <Stuart.Yoder@arm.com>
> Subject: Re: [PATCH v1] uefi-sct/SctPkg: Changed compiler check from greater
> 5 to equal to 5
>
> On 14.12.20 15:35, Joseph Hemann wrote:
> > From: Joseph Hemann <Joseph.heman@arm.com>
> >
> > gcc compilers versions 5.* also need to be converted from string to
> > integer before testing
> >
> > Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com>
> > Cc: Eric Jin <eric.jin@intel.com>
> > Cc: Irene Park <ipark@nvidia.com>
> > Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>
> > Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
> > Cc: Stuart Yoder <Stuart.Yoder@arm.com>
> > Signed-off-by: Joseph Hemann <Joseph.heman@arm.com>
> > Change-Id: Ica60b6629f698d5f5c61b861ac4aefcc9cd24b7a
>
> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
>
> > ---
> >  uefi-sct/SctPkg/build.sh | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/uefi-sct/SctPkg/build.sh b/uefi-sct/SctPkg/build.sh index
> > 37667711..ba9babe7 100755
> > --- a/uefi-sct/SctPkg/build.sh
> > +++ b/uefi-sct/SctPkg/build.sh
> > @@ -56,7 +56,7 @@ function get_gcc_version  {
> >  gcc_version=$($1 -dumpversion)
> >
> > -if [ ${gcc_version%%.*} -gt 5 ]; then
> > +if [ ${gcc_version%%.*} -ge 5 ]; then
> >  gcc_version=5
> >  fi
> >
> >

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-05 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-14 14:35 [PATCH v1] uefi-sct/SctPkg: Changed compiler check from greater 5 to equal to 5 Joseph Hemann
2020-12-14 14:59 ` Heinrich Schuchardt
2021-01-05 15:18   ` G Edhaya Chandran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox