Re: [OE-core] [PATCH] oeqa: sdk: basic go toolchain test support

2021-06-04 Thread Peter Morrow
On Thu, May 20, 2021 at 02:57:26PM +0100, Richard Purdie wrote: > On Thu, 2021-05-20 at 12:27 +0100, Richard Purdie via lists.openembedded.org > wrote: > > On Tue, 2021-05-18 at 06:05 -0700, Peter Morrow wrote: > > > Add a simple build test for the golang toolch

Re: [OE-core] [PATCH] oeqa: sdk: basic go toolchain test support

2021-05-25 Thread Peter Morrow
On Thu, May 20, 2021 at 02:57:26PM +0100, Richard Purdie wrote: > On Thu, 2021-05-20 at 12:27 +0100, Richard Purdie via lists.openembedded.org > wrote: > > On Tue, 2021-05-18 at 06:05 -0700, Peter Morrow wrote: > > > Add a simple build test for the golang toolch

[OE-core] [PATCH] oeqa: sdk: basic go toolchain test support

2021-05-18 Thread Peter Morrow
Add a simple build test for the golang toolchain which is produced into a SDK. Signed-off-by: Peter Morrow --- meta/lib/oeqa/sdk/cases/go.py | 34 ++ meta/lib/oeqa/sdk/files/test.go | 7 +++ 2 files changed, 41 insertions(+) create mode 100644 meta/lib

Re: [OE-core] [dunfell][PATCH 1/2] goarch: map target os to windows for mingw* TARGET_OS

2021-04-09 Thread Peter Morrow
On Tue, Apr 06, 2021 at 08:21:59AM -0700, Khem Raj wrote: > Lgtm Thanks Khem! Peter. > > On Tue, Apr 6, 2021 at 6:08 AM Peter Morrow > wrote: > > > mingw32/mingw64 is not a supported value for GOOS, so map from 'mingw*' to > > 'windows' to enable building for wind

Re: [OE-core] [meta-mingw][PATCH] go: add environment setup batch file for go

2021-04-07 Thread Peter Morrow
On Wed, Apr 07, 2021 at 07:56:01AM -0500, Joshua Watt wrote: > On Wed, Apr 7, 2021 at 5:31 AM Peter Morrow > wrote: > > > > When building the nativesdk for mingw we need to set GOROOT in order to > > build > > anything out of the box. > > > > Signed-

[OE-core] [meta-mingw][PATCH] go: add environment setup batch file for go

2021-04-07 Thread Peter Morrow
When building the nativesdk for mingw we need to set GOROOT in order to build anything out of the box. Signed-off-by: Peter Morrow --- recipes-devtools/go/go_%.bbappend | 9 + 1 file changed, 9 insertions(+) create mode 100644 recipes-devtools/go/go_%.bbappend diff --git a/recipes

[OE-core] [dunfell][PATCH 1/2] goarch: map target os to windows for mingw* TARGET_OS

2021-04-06 Thread Peter Morrow
mingw32/mingw64 is not a supported value for GOOS, so map from 'mingw*' to 'windows' to enable building for windows targets. Signed-off-by: Peter Morrow --- meta/classes/goarch.bbclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/classes/goarch.bbclass b/meta/classes

[OE-core] [dunfell][PATCH 2/2] go_1.14: don't set -buildmode=pie when building for windows targets

2021-04-06 Thread Peter Morrow
go 1.14 for windows targets does not support -buildmode=pie, disable it and use the default buildmode instead. Support for -buildmode=pie for windows targets is added with go 1.15 (https://golang.org/doc/go1.15) which is added to poky in gatesgarth. Signed-off-by: Peter Morrow --- meta/classes

[OE-core] [PATCH v3] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-14 Thread Peter Morrow
The default compression algorithm is currently gzip, this patch allows the default to be changed by setting SQUASHFS_TOOLS_COMP_DEFAULT to a valid compression algorithm. Signed-off-by: Peter Morrow --- meta/recipes-devtools/squashfs-tools/squashfs-tools_git.bb | 3 +++ 1 file changed, 3

Re: [OE-core] [PATCH v2] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-14 Thread Peter Morrow
On Fri, Sep 11, 2020 at 10:04:00PM -0700, Khem Raj wrote: > > > On 9/11/20 10:33 AM, Andre McCurdy wrote: > > On Fri, Sep 11, 2020 at 10:21 AM Peter Morrow > > wrote: > >> > >> The default compression algorithm is gzip, this patch allows the default

Re: [OE-core] [PATCH v2] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-14 Thread Peter Morrow
On Sat, Sep 12, 2020 at 12:37:28AM -0700, Khem Raj wrote: > On Fri, Sep 11, 2020 at 11:36 PM Andre McCurdy wrote: > > > > On Fri, Sep 11, 2020 at 10:04 PM Khem Raj wrote: > > > > > > > > > > > > On 9/11/20 10:33 AM, Andre McCurdy wrote: &g

[OE-core] [PATCH v2] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-11 Thread Peter Morrow
The default compression algorithm is gzip, this patch allows the default to be changed via a bbappend file by setting SQUASHFS_TOOLS_COMP_DEFAULT to a valid compression algorithm. Signed-off-by: Peter Morrow --- ...ols-Allow-COMP_DEFAULT-to-be-overridden-v.patch | 34

Re: [OE-core] [PATCH] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-11 Thread Peter Morrow
On Fri, Sep 11, 2020 at 12:47:44PM +0100, Ross Burton wrote: > > +python () { > > +# Change the default compression algorithm if requested. > > +comp_default = d.getVar('SQUASHFS_TOOLS_COMP_DEFAULT') > > +if comp_default != None: > > +d.appendVar('EXTRA_OEMAKE', '

[OE-core] [PATCH] squashfs-tools: Allow COMP_DEFAULT to be changed easily at build time

2020-09-11 Thread Peter Morrow
The default compression algorithm is gzip, this patch allows the default to be changed via a bbappend file by setting SQUASHFS_TOOLS_COMP_DEFAULT to a valid compression algorithm. Signed-off-by: Peter Morrow --- ...ols-Allow-COMP_DEFAULT-to-be-overridden-v.patch | 34