Re: [PATCH] rust: Introduce RS_BUILD_ARCH to handle ppc64le


Andrew Jeffery
 

On Fri, 18 Feb 2022, at 16:43, Khem Raj wrote:
On Thu, Feb 17, 2022 at 9:43 PM Andrew Jeffery <andrew@...> wrote:

On modern Power systems `uname -m` reports 'ppc64le'. However, Rust's
toolchain names the architecture 'powerpc64le'.

Introduce RS_BUILD_ARCH to provide an indirection to fix this mismatch.

I've tested each of the generated URIs for Power using the output from
`bitbake -e rust-native` and could successfully fetch the artifacts.
thanks
can you also check if arch_to_rust_target_arch() in
meta/recipes-devtools/rust/rust-common.inc
is computing it right for ppc64le case ?
Yep, I'll poke at that.

Andrew

Join openembedded-core@lists.openembedded.org to automatically receive all group messages.