Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] llvm3.2: new recipe
Date: Tue, 11 Jun 2013 10:54:07 +0200	[thread overview]
Message-ID: <51B6E5AF.4080808@juszkiewicz.com.pl> (raw)
In-Reply-To: <CAMKF1sokFKxLAWEmSOMN15UODnWswpKRZbs79X=ggWvUW2Yepg@mail.gmail.com>

W dniu 11.06.2013 10:03, Khem Raj pisze:
> On Tue, Jun 11, 2013 at 12:55 AM, Marcin Juszkiewicz
>> W dniu 11.06.2013 09:48, Khem Raj pisze:

>>> why do you think they are worthless ? when they give good information
>>> instead of failing to build and then generating support question
>>> which need more work to come to same conclusion
>>
>> $ MACHINE=genericarmv8 bitbake nano
>> "llvm is not supported"
>> "openjdk is not supported"
>> "another-thing-you-do-not-care-for-this-build is not supported"
> 
> it could be said if you do not care for such recipes then BBMASK them
> and message
> well may be it could be make bb.note instead of bb.warn to make it
> more of FYI kind of thing

"NOTE: llvm does not support aarch64 yet" looks better. But still is
worthless.

>> This is how your builds look for not supported architectures.
>>
>> OE has COMPATIBLE_HOST variable which can be used by recipe maintainers
>> to mark which architectures are supported.

> in this case arch does not map to what OE's target arch is so you have
> to do it twice if you want to use COMPATIBLE_HOST

It has 7 OE architectures: i.86, x86_64, arm, mips(el), powerpc(64)
which are then mapped into 5 llvm ones. Can be gathered into one
COMPATIBLE_HOST (copied from kexec-tools):

COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*|mips.*)-(linux)'

"mips.*" probably needs to be changed to "mips(el)?" to not cover mips64.

> and suppose a non supported arch becomes supported you have to change
> both places.

Once it gets supported you will need to add/edit recipe anyway.


  reply	other threads:[~2013-06-11  8:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-02  9:33 [meta-oe][PATCH] llvm3.2: new recipe Jonathan Liu
2013-06-02  9:55 ` Marcin Juszkiewicz
2013-06-03  4:30   ` Jonathan Liu
2013-06-11  7:48   ` Khem Raj
2013-06-11  7:55     ` Marcin Juszkiewicz
2013-06-11  8:03       ` Khem Raj
2013-06-11  8:54         ` Marcin Juszkiewicz [this message]
2013-06-11  9:07           ` Khem Raj
2013-06-11  9:10             ` Marcin Juszkiewicz

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=51B6E5AF.4080808@juszkiewicz.com.pl \
    --to=marcin@juszkiewicz.com.pl \
    --cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox