All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Måns Zigher" <mans.zigher@gmail.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: [Question]: do_configure fail if cmake project is making use of ExternalProject
Date: Thu, 6 Sep 2018 22:18:55 +0200	[thread overview]
Message-ID: <CAEhQi8nBCu=wDN3tWTwBKp=qQH38Risa1UdHkAU2gxQKeckwcA@mail.gmail.com> (raw)
In-Reply-To: <CANNYZj9B75b6rak5_SESjeSiL=vgMkFS82TFdaToKcw73cRvhQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1567 bytes --]

Hi,

Thanks for your reply. A colleague found

OECMAKE_FIND_ROOT_PATH_MODE_PROGRAM = "BOTH"

and it seems to work. Do you have any comment using this?

Br
Måns Zigher

On Thu, Sep 6, 2018, 13:52 Alexander Kanavin <alex.kanavin@gmail.com> wrote:

> Sadly, Yocto is not well equippped to deal with projects that download
> stuff from the internet as a part of the build process. I'd say if
> it's just one project, write a separate recipe for it, and build it
> via that. Then install into the original recipe's sysroot or build dir
> as needed, and make sure the project doesn't attempt to download it
> anymore.
>
> Alex
>
> 2018-09-06 13:05 GMT+02:00 Måns Zigher <mans.zigher@gmail.com>:
> > Hi,
> >
> > I have a cmake project that is making use of ExternalProject_Add. The
> > external project will make use of git clone to pull down the project. The
> > problem that I am seeing is that the do_configure will fail because it
> > cannot find git which is not part of the sysroot the reason for git not
> > being part the sysroot is that git-native is included in ASSUME_PROVIDED
> > which prevent me from getting it into the sysroot and when running
> > do_configure it will only look for it in the sysroot and not on the host
> if
> > I am not mistaken? What would the best way be to proceed to solve this
> > problem?
> >
> > BR
> > Måns Zigher
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>

[-- Attachment #2: Type: text/html, Size: 2739 bytes --]

      reply	other threads:[~2018-09-06 20:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-06 11:05 [Question]: do_configure fail if cmake project is making use of ExternalProject Måns Zigher
2018-09-06 11:52 ` Alexander Kanavin
2018-09-06 20:18   ` Måns Zigher [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEhQi8nBCu=wDN3tWTwBKp=qQH38Risa1UdHkAU2gxQKeckwcA@mail.gmail.com' \
    --to=mans.zigher@gmail.com \
    --cc=alex.kanavin@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.