[OE-core] [PATCH 2/2] oeqa/buildoptions: check that Fortran code actually cross-compiles

Burton, Ross ross.burton at intel.com
Mon Jun 24 16:21:31 UTC 2019


On Mon, 24 Jun 2019 at 17:09, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> > -        features += 'RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath"\n'
>
> Please don't remove that. We need to check libquadmath builds.

>From gcc-runtime.inc:

RUNTIMETARGET = "${RUNTIMELIBSSP} libstdc++-v3 libgomp libatomic
${RUNTIMELIBITM} \
    ${@bb.utils.contains_any('FORTRAN', [',fortran',',f77'],
'libquadmath', '', d)} \
"

So this is redundant?

> >          self.write_config(features)
> > -
> > -        bitbake('gcc-runtime libgfortran')
> > +        bitbake('fortran-helloworld')
>
> Doesn't this stop testing libgfortran builds too?

Possibly.  I admit I don't know what libgfortran is for considering my
test builds apparently without it. :)

Ross


More information about the Openembedded-core mailing list