diff options
author | Nathan Rossi <nathan@nathanrossi.com> | 2017-08-02 21:09:16 +1000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-09 09:24:04 +0100 |
commit | d796abac982f368aa088a291560b565cc47a2c27 (patch) | |
tree | d6ead6f12d3a1341835a90cddd392a063264c840 /README | |
parent | 1c4444f7b2f5cbcaaf6f9d21d7b4f86555ed746a (diff) | |
download | openembedded-core-d796abac982f368aa088a291560b565cc47a2c27.tar.gz openembedded-core-d796abac982f368aa088a291560b565cc47a2c27.tar.bz2 openembedded-core-d796abac982f368aa088a291560b565cc47a2c27.zip |
llvm: Raise SkipRecipe exception for unsupported architectures
When parsing this recipe on an unsupported or non-mappable architecture
an error is generated despite no dependencies on the recipe. E.g.
ERROR: .../llvm_git.bb: cannot map 'microblazeel' to a supported llvm architecture
Instead of generating an error which might confuse users, raise a
SkipRecipe exception similar to other arch-style mapping functions (e.g.
go_map_arch). This avoids showing the error during parse, and prevents
the use of the recipe on unsupported targets. Resulting in an error like
so when trying to build llvm:
ERROR: Nothing PROVIDES 'llvm'
llvm was skipped: Cannot map 'microblazeel' to a supported LLVM architecture
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions