Message ID | 20220825104851.3258387-3-richard.purdie@linuxfoundation.org |
---|---|
State | Accepted, archived |
Commit | 0371e429d9e127983ddfaec366ce1c38c99158e4 |
Headers | show |
Series | [1/3] rust: Fix crossbeam-utils for arches without atomics | expand |
On Thu, Aug 25, 2022 at 3:49 AM Richard Purdie <richard.purdie@linuxfoundation.org> wrote: > > We see a lot of warnings about incorrect processor types on qemuppc, drowning > out anything else. Fix the option. > > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> > --- > meta/classes-recipe/rust-target-config.bbclass | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass > index e30eaa1da30..259cba7bbd0 100644 > --- a/meta/classes-recipe/rust-target-config.bbclass > +++ b/meta/classes-recipe/rust-target-config.bbclass > @@ -272,7 +272,7 @@ def llvm_cpu(d): > trans['x86-64'] = "x86-64" > trans['i686'] = "i686" > trans['i586'] = "i586" > - trans['powerpc'] = "powerpc" > + trans['powerpc'] = "7400" that seems to be dependent on what tune we select I guess. So it might not work on other ppc tunes. > trans['mips64'] = "mips64" > trans['mips64el'] = "mips64" > trans['riscv64'] = "generic-rv64" > -- > 2.34.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#169846): https://lists.openembedded.org/g/openembedded-core/message/169846 > Mute This Topic: https://lists.openembedded.org/mt/93245410/1997914 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
diff --git a/meta/classes-recipe/rust-target-config.bbclass b/meta/classes-recipe/rust-target-config.bbclass index e30eaa1da30..259cba7bbd0 100644 --- a/meta/classes-recipe/rust-target-config.bbclass +++ b/meta/classes-recipe/rust-target-config.bbclass @@ -272,7 +272,7 @@ def llvm_cpu(d): trans['x86-64'] = "x86-64" trans['i686'] = "i686" trans['i586'] = "i586" - trans['powerpc'] = "powerpc" + trans['powerpc'] = "7400" trans['mips64'] = "mips64" trans['mips64el'] = "mips64" trans['riscv64'] = "generic-rv64"
We see a lot of warnings about incorrect processor types on qemuppc, drowning out anything else. Fix the option. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/classes-recipe/rust-target-config.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)