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

richard.purdie at linuxfoundation.org richard.purdie at linuxfoundation.org
Mon Jun 24 16:24:50 UTC 2019


On Mon, 2019-06-24 at 17:21 +0100, Burton, Ross wrote:
> 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?

Yes, that was indeed fixed properly.

meta/conf/local.conf.sample.extended needs the same fix.

> > >          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. :)

That maybe but I'd still like to test that it builds given it was added
due to problems where it stopped building and people got upset...

Cheers,

Richard




More information about the Openembedded-core mailing list