[OE-core] [PATCH 2/6] cloog-ppl,ppl: Add new recipes

Martin Jansa martin.jansa at gmail.com
Wed Dec 7 17:07:13 UTC 2011


On Wed, Dec 07, 2011 at 09:03:34AM -0800, Khem Raj wrote:
> On Tue, Dec 6, 2011 at 3:41 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> > On Tue, Dec 6, 2011 at 6:21 AM, Khem Raj <raj.khem at gmail.com> wrote:
> >> These are supporting libraries needed if we want
> >> to build gcc with graphite support which does better
> >> job on loop optimizarions.
> >>
> >> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> >> ---
> >>  meta/recipes-support/cloog-ppl/cloog-ppl.inc       |    6 +
> >>  .../recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb |   13 +
> >>  .../ppl/ppl-0.11.2/ppl_autoreconf.patch            |17034 ++++++++++++++++++++
> >>  meta/recipes-support/ppl/ppl.inc                   |    6 +
> >>  meta/recipes-support/ppl/ppl_0.11.2.bb             |   16 +
> >>  meta/recipes-support/ppl/ppl_git.bb                |   17 +
> >>  6 files changed, 17092 insertions(+), 0 deletions(-)
> >>  create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl.inc
> >>  create mode 100644 meta/recipes-support/cloog-ppl/cloog-ppl_0.15.11.bb
> >>  create mode 100644 meta/recipes-support/ppl/ppl-0.11.2/ppl_autoreconf.patch
> >>  create mode 100644 meta/recipes-support/ppl/ppl.inc
> >>  create mode 100644 meta/recipes-support/ppl/ppl_0.11.2.bb
> >>  create mode 100644 meta/recipes-support/ppl/ppl_git.bb
> >
> > While testing this changes I got this from ppl build
> > configure:10654: checking how to link with libgmpxx
> > configure:11127: result: /usr/lib/libgmpxx.so /usr/lib/libgmp.so
> > configure:11173: checking for the GMP library version 4.1.3 or above
> > ...
> > ac_cv_libgmp_cppflags=
> > ac_cv_libgmp_libs=/usr/lib/libgmp.so
> > ac_cv_libgmp_ltlibs='-L/usr/lib -lgmp'
> > ac_cv_libgmp_prefix=/usr
> > ac_cv_libgmpxx_cppflags=
> > ac_cv_libgmpxx_libs='/usr/lib/libgmpxx.so /usr/lib/libgmp.so'
> > ac_cv_libgmpxx_ltlibs='-L/usr/lib -lgmpxx -L/usr/lib -lgmp'
> > ac_cv_libgmpxx_prefix=/usr
> >
> > OE @ ~/shr-core/tmp-eglibc $ find sysroots/nokia900/usr/lib/ -name libgmp\*
> > sysroots/nokia900/usr/lib/libgmp.so.10.0.2
> > sysroots/nokia900/usr/lib/libgmp.la
> > sysroots/nokia900/usr/lib/libgmpxx.a
> > sysroots/nokia900/usr/lib/libgmpxx.so.4
> > sysroots/nokia900/usr/lib/libgmp.so.10
> > sysroots/nokia900/usr/lib/libgmpxx.la
> > sysroots/nokia900/usr/lib/ssl/engines/libgmp.so
> > sysroots/nokia900/usr/lib/libgmp.so
> > sysroots/nokia900/usr/lib/libgmpxx.so.4.2.2
> > sysroots/nokia900/usr/lib/libgmp.a
> > sysroots/nokia900/usr/lib/libgmpxx.so
> >
> 
> is this when you build gcc for target ?

while building ppl for target, ppl-native was built fine

> > Maybe we should pass --with-gmp-build or improve m4/ac_check_gmp.m4 to
> > detect gmp in sysroot?
> 
> Thanks for trying it out.
> 
> Yes I should. I had it for a while but then I removed it for experimenting
> if it will find libs in sysroot and it did and since then I removed it but I
> forgot that I do not have gmp libs installed locally on build system.
> 
> I will fix it here and push a new patch to same branch

http://patches.openembedded.org/patch/16301/

Cheers,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111207/04543907/attachment-0002.sig>


More information about the Openembedded-core mailing list