[OE-core] [PATCH] cmake: Use find_program if find_host_program is not available

Jussi Kukkonen jussi.kukkonen at intel.com
Tue Jun 27 07:57:10 UTC 2017


On 27 June 2017 at 00:51, Maxime Roussin-Belanger <
maxime.roussinbelanger at gmail.com> wrote:

> On Mon, Jun 26, 2017 at 04:41:34PM -0300, Otavio Salvador wrote:
> > On Mon, Jun 26, 2017 at 3:33 PM, Maxime Roussin-Bélanger
> > <maxime.roussinbelanger at gmail.com> wrote:
> > > CMake does not define the `find_host_program` command we've
> > > been using in the cross-compiling code path.  It was
> > > provided by a widely used Android toolchain file.  For
> > > compatibility, continue to use `find_host_program` if
> > > available, but otherwise use just `find_program`.
> > >
> > > Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger at gmail.
> com>
> >
> > It sounds fine to me; the backward compatibility is maintained and it
> > fixes a real use-case so I see no reason to not apply EXCEPT:
> >
> > - lack of Upstream-Status field
> > - lack of upstream bug about the issue, ideally the proposed patch
> > should be send to upstream so we can drop it in next releases
> >
>
> I just got r/w access to the poky-contrib repository. Do I have to create
> a pull-request/send-pull-request to get an upstream-status field?
>
> Can we ignore this email and just use the pull-request script instead?
>
> If so, do I have to resend the same patch (V2 ?) to the same recipients?
>

You should send a V2 with Upstream-Status (see below). You can use
poky-contrib and the pull-request scripts but you can also just send the
patch, it's up to you.


> If not, how do I get an upstream-status? I just pushed my branch to contrib
> repository (mroussin/fix_cmake_find_cuda_not_android), does that mean
> pending?
>

Upstream-Status refers to what's happening in _upstream project_, not in
yocto: you should decide what the appropriate value is -- but everyone
would like if it was "submitted"  (in other words you have sent a patch to
the cmake project using whatever method they prefer). At the very least you
should file a bug upstream. Please add a link to the upstream pull request
or bug report into the yocto patch: that way it's easy to check later on if
the patch is still needed.

There's no tooling to add the tag if that was what you were wondering, just
write it by hand.

See also: https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines


Jussi



>
>
> > --
> > Otavio Salvador                             O.S. Systems
> > http://www.ossystems.com.br        http://code.ossystems.com.br
> > Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170627/bcc9b420/attachment-0002.html>


More information about the Openembedded-core mailing list