Re: [OE-core] [PATCH] rust: Introduce RS_BUILD_ARCH to handle ppc64le

2022-02-18 Thread Andrew Jeffery
On Fri, 18 Feb 2022, at 16:43, Khem Raj wrote: > On Thu, Feb 17, 2022 at 9:43 PM Andrew Jeffery 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

Re: [OE-core] [PATCH] rust: Introduce RS_BUILD_ARCH to handle ppc64le

2022-02-17 Thread Khem Raj
On Thu, Feb 17, 2022 at 9:43 PM Andrew Jeffery 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

[OE-core] [PATCH] rust: Introduce RS_BUILD_ARCH to handle ppc64le

2022-02-17 Thread Andrew Jeffery
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