[OE-core] [meson][PATCH] meson: Allow for llvm-native tools to be used
fdk17
fdk17 at ftml.net
Fri Dec 27 14:25:23 UTC 2019
On Fri, Dec 27, 2019, at 7:03 AM, Peter Kjellerstedt wrote:
> If we’re adding a --native-file, shouldn’t it always be specified, regardless of --cross-file?
I don't think so. It seems to me that it should be one or the other. If you are building a -native package then you don't need a native file and vice versa.
> Also, it looks as most of what is currently done in override_native_tools() and meson_do_configure_prepend_class-native() could be moved to the native-file (the exception seems to be the unsetting of CPPFLAGS, CFLAGS, CXXFLAGS and LDFLAGS).
It could be but I didn't want to make unnecessary changes just to get llvm-native working. I think few people even attempt to use a native-llvm for anything other than building llvm. If anyone else needed this I would think that the llvm-native recipe would have been updated by now by others. In that regards this patch just not important. I was just putting it out there as this tripped me up for a few hours before understanding what was happening.
More information about the Openembedded-core
mailing list