Thanks, I'll check it out.
This works:
DEPENDS += "\
compiler-rt \
libcxx \
llvm \
"
RUNTIME = "llvm"
TOOLCHAIN = "clang"
PREFERRED_PROVIDER:libgcc = "compiler-rt"
RUNTIME:class-native = "llvm"
TOOLCHAIN:class-native = "clang"
PREFERRED_PROVIDER:libgcc:class-native = "compiler-rt"
On Thu, Nov 18, 2021 at 12:04 PM Khem Raj <[email protected]> wrote:
> Look into chromium recipe
>
> On Thu, Nov 18, 2021 at 11:55 AM Joel Winarske <[email protected]>
> wrote:
> >
> > How do I get a -native recipe to use clang-native? I have this in my
> recipe, and target variant builds with clang:
> >
> > RUNTIME = "llvm"
> > TOOLCHAIN = "clang"
> > PREFERRED_PROVIDER:libgcc = "compiler-rt"
> >
> > All the environment variables are setup for gcc in the case of -native.
> No sign of clang.
> >
> > This is with honister.
> >
> >
> > Joel
> >
> >
> >
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#55365): https://lists.yoctoproject.org/g/yocto/message/55365
Mute This Topic: https://lists.yoctoproject.org/mt/87152111/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-