Re: [yocto] [yocto-autobuilder-helper] [PATCH] config.json: Make meta-oe source mirror config wider coverage

2023-10-27 Thread Martin Jansa
I think RUNTIMETARGET is already set correctly when fortran is correctly
enabled as in:
https://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/gcc/gcc-runtime.inc#n45

since 2016:
https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/gcc/gcc-runtime.inc?id=80333155db8fa53fb52898c4312daa656de89c3b

On Tue, Oct 24, 2023 at 10:34 PM Richard Purdie <
richard.pur...@linuxfoundation.org> wrote:

> On Tue, 2023-10-24 at 10:15 -0700, Khem Raj wrote:
> > On 10/24/23 4:03 AM, Richard Purdie wrote:
> > > Some recipes depend on DISTRO_FEATURES, commercial licensing or
> compiler
> > > config like fortran. Set these things so that we get wider soruce
> mirror
> > > coverage and fewer warnings.
> > >
> > > 'commercial' license usage is ok here since we're not building and then
> > > shipping any binaries or using it, only mirroring the source code.
> > >
> > > Signed-off-by: Richard Purdie 
> > > ---
> > >   config.json | 6 ++
> > >   1 file changed, 6 insertions(+)
> > >
> > > diff --git a/config.json b/config.json
> > > index 0c35632..61cf374 100644
> > > --- a/config.json
> > > +++ b/config.json
> > > @@ -1451,6 +1451,12 @@
> > >   "${BUILDDIR}/../meta-openembedded/meta-initramfs",
> > >   "${BUILDDIR}/../meta-openembedded/meta-webserver"
> > >   ],
> > > +"extravars" : [
> > > +"LICENSE_FLAGS_ACCEPTED = 'commercial'",
> > > +"DISTRO_FEATURES:append = ' pam systemd usrmerge'",
> > > +"FORTRAN:forcevariable = ',fortran'",
> > > +"RUNTIMETARGET:append:pn-gcc-runtime = ' libquadmath'"
> >
> > I think RUNTIMETARGET should automatically be appended with libquadmath
> > if FORTRAN is set.
>
> Perhaps but that is a change to work on in OE-Core and isn't going to
> happen overnight or in previous releases.
>
> Improvements welcome there or perhaps a bug to track it at least.
>
> Cheers,
>
> Richard
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61502): https://lists.yoctoproject.org/g/yocto/message/61502
Mute This Topic: https://lists.yoctoproject.org/mt/102155468/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [yocto-autobuilder-helper] [PATCH] config.json: Make meta-oe source mirror config wider coverage

2023-10-24 Thread Richard Purdie
On Tue, 2023-10-24 at 10:15 -0700, Khem Raj wrote:
> On 10/24/23 4:03 AM, Richard Purdie wrote:
> > Some recipes depend on DISTRO_FEATURES, commercial licensing or compiler
> > config like fortran. Set these things so that we get wider soruce mirror
> > coverage and fewer warnings.
> > 
> > 'commercial' license usage is ok here since we're not building and then
> > shipping any binaries or using it, only mirroring the source code.
> > 
> > Signed-off-by: Richard Purdie 
> > ---
> >   config.json | 6 ++
> >   1 file changed, 6 insertions(+)
> > 
> > diff --git a/config.json b/config.json
> > index 0c35632..61cf374 100644
> > --- a/config.json
> > +++ b/config.json
> > @@ -1451,6 +1451,12 @@
> >   "${BUILDDIR}/../meta-openembedded/meta-initramfs",
> >   "${BUILDDIR}/../meta-openembedded/meta-webserver"
> >   ],
> > +"extravars" : [
> > +"LICENSE_FLAGS_ACCEPTED = 'commercial'",
> > +"DISTRO_FEATURES:append = ' pam systemd usrmerge'",
> > +"FORTRAN:forcevariable = ',fortran'",
> > +"RUNTIMETARGET:append:pn-gcc-runtime = ' libquadmath'"
> 
> I think RUNTIMETARGET should automatically be appended with libquadmath 
> if FORTRAN is set.

Perhaps but that is a change to work on in OE-Core and isn't going to
happen overnight or in previous releases.

Improvements welcome there or perhaps a bug to track it at least.

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61472): https://lists.yoctoproject.org/g/yocto/message/61472
Mute This Topic: https://lists.yoctoproject.org/mt/102155468/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] [yocto-autobuilder-helper] [PATCH] config.json: Make meta-oe source mirror config wider coverage

2023-10-24 Thread Khem Raj

On 10/24/23 4:03 AM, Richard Purdie wrote:

Some recipes depend on DISTRO_FEATURES, commercial licensing or compiler
config like fortran. Set these things so that we get wider soruce mirror
coverage and fewer warnings.

'commercial' license usage is ok here since we're not building and then
shipping any binaries or using it, only mirroring the source code.

Signed-off-by: Richard Purdie 
---
  config.json | 6 ++
  1 file changed, 6 insertions(+)

diff --git a/config.json b/config.json
index 0c35632..61cf374 100644
--- a/config.json
+++ b/config.json
@@ -1451,6 +1451,12 @@
  "${BUILDDIR}/../meta-openembedded/meta-initramfs",
  "${BUILDDIR}/../meta-openembedded/meta-webserver"
  ],
+"extravars" : [
+"LICENSE_FLAGS_ACCEPTED = 'commercial'",
+"DISTRO_FEATURES:append = ' pam systemd usrmerge'",
+"FORTRAN:forcevariable = ',fortran'",
+"RUNTIMETARGET:append:pn-gcc-runtime = ' libquadmath'"


I think RUNTIMETARGET should automatically be appended with libquadmath 
if FORTRAN is set.



+],
  "step1" : {
  "shortname" : "Sources pre-fetching",
  "BBTARGETS" : "universe -c fetch -k",







OpenPGP_0xBB053355919D3314.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61471): https://lists.yoctoproject.org/g/yocto/message/61471
Mute This Topic: https://lists.yoctoproject.org/mt/102155468/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] [yocto-autobuilder-helper] [PATCH] config.json: Make meta-oe source mirror config wider coverage

2023-10-24 Thread Richard Purdie
Some recipes depend on DISTRO_FEATURES, commercial licensing or compiler
config like fortran. Set these things so that we get wider soruce mirror
coverage and fewer warnings.

'commercial' license usage is ok here since we're not building and then
shipping any binaries or using it, only mirroring the source code.

Signed-off-by: Richard Purdie 
---
 config.json | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/config.json b/config.json
index 0c35632..61cf374 100644
--- a/config.json
+++ b/config.json
@@ -1451,6 +1451,12 @@
 "${BUILDDIR}/../meta-openembedded/meta-initramfs",
 "${BUILDDIR}/../meta-openembedded/meta-webserver"
 ],
+"extravars" : [
+"LICENSE_FLAGS_ACCEPTED = 'commercial'",
+"DISTRO_FEATURES:append = ' pam systemd usrmerge'",
+"FORTRAN:forcevariable = ',fortran'",
+"RUNTIMETARGET:append:pn-gcc-runtime = ' libquadmath'"
+],
 "step1" : {
 "shortname" : "Sources pre-fetching",
 "BBTARGETS" : "universe -c fetch -k",
-- 
2.39.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61464): https://lists.yoctoproject.org/g/yocto/message/61464
Mute This Topic: https://lists.yoctoproject.org/mt/102155468/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-