Re: [OE-Core][PATCH 3/4] cargo: Move vendor directory to registry/src

2023-12-30 Thread Richard Purdie
On Sat, 2023-12-30 at 15:49 +, Alex Kiernan wrote: > rust 1.75 has an assumption from 85c0ce24cc74 ("remap cargo dependencies > to /rust/deps") that unpacked crates (vendored or otherwise) > are found in .../registry/src (usually in ~/.cargo). Moving our vendor > directory to match is the

Re: [OE-core] [PATCH v5 2/3] mesa: add support for RustiCL under PACKAGECONFIG "opencl"

2023-12-30 Thread Richard Purdie
On Sat, 2023-12-30 at 21:14 +0200, Dmitry Baryshkov wrote: > From: Zoltán Böszörményi > > Mesa now has two OpenCL implementations: Clover (older one) and RustiCL > (newer one). Extend the "opencl" package config to include both > implementations into the libopencl-mesa (-dev) packages. As the

Re: [OE-core] [bitbake-devel] pthread_cancel bug on ubuntu2004/debian11

2023-12-30 Thread Steve Sakoman
On Sat, Dec 30, 2023 at 1:31 AM Richard Purdie wrote: > > On Wed, 2023-12-27 at 11:30 -0700, Joshua Watt wrote: > > On Wed, Dec 27, 2023 at 4:28 AM Richard Purdie > > wrote: > > > > > > I wanted to write down some thoughts on this which I have all the > > > pieces handy. > > > > > > We saw a

[OE-core] [PATCH v5 0/3] mesa: RustiCL support

2023-12-30 Thread Dmitry Baryshkov
RustiCL is a new OpenCL implementation developed within the mesa library. It supports more drivers and more features compared to the existing Clover implementation. The Clover is supposed to fade away and to be removed in the foreseeble feature ([1]), thus it doesn't make sense to add separate

[OE-core] [PATCH v5 2/3] mesa: add support for RustiCL under PACKAGECONFIG "opencl"

2023-12-30 Thread Dmitry Baryshkov
From: Zoltán Böszörményi Mesa now has two OpenCL implementations: Clover (older one) and RustiCL (newer one). Extend the "opencl" package config to include both implementations into the libopencl-mesa (-dev) packages. As the Clover implementation is in maintenance mode and is expected to be

[OE-core] [PATCH v5 3/3] mesa: fix building of RustiCL + nouveau

2023-12-30 Thread Dmitry Baryshkov
Incorporate a patch by Karol Herbst, fixing nouveau / libgalliumvl dependency. Signed-off-by: Dmitry Baryshkov --- meta/recipes-graphics/mesa/files/26680.patch | 236 +++ meta/recipes-graphics/mesa/mesa.inc | 1 + 2 files changed, 237 insertions(+) create mode 100644

[OE-core] [PATCH v5 1/3] mesa: drop -Dopencl-native=true

2023-12-30 Thread Dmitry Baryshkov
The flag -Dopencl-native=true was dropped in Mesa 22.3, remove it from mesa.inc. Signed-off-by: Dmitry Baryshkov --- meta/recipes-graphics/mesa/mesa.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-graphics/mesa/mesa.inc

Re: [OE-core] [bitbake-devel] pthread_cancel bug on ubuntu2004/debian11

2023-12-30 Thread Khem Raj
It’s preloading the library so I think it Won’t have unintended side effects therefore can be applied regardless I would imagine On Wed, Dec 27, 2023 at 10:30 AM Joshua Watt wrote: > On Wed, Dec 27, 2023 at 4:28 AM Richard Purdie > wrote: > > > > I wanted to write down some thoughts on this

[OE-Core][PATCH 2/4] cargo: Create CARGO_HOME and CARGO_VENDORING_DIRECTORY

2023-12-30 Thread Alex Kiernan
Remove assumption that CARGO_VENDORING_DIRECTORY is ${CARGO_HOME}/bitbake and create both directories as part of cargo configure. Signed-off-by: Alex Kiernan --- meta/classes-recipe/cargo_common.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[OE-Core][PATCH 3/4] cargo: Move vendor directory to registry/src

2023-12-30 Thread Alex Kiernan
rust 1.75 has an assumption from 85c0ce24cc74 ("remap cargo dependencies to /rust/deps") that unpacked crates (vendored or otherwise) are found in .../registry/src (usually in ~/.cargo). Moving our vendor directory to match is the easiest workaround to avoid the upstream assumption causing issues.

[OE-Core][PATCH 1/4] rust: Move RUST_DIST_SERVER to rust-config.inc

2023-12-30 Thread Alex Kiernan
Overriding the location of RUST_DIST_SERVER is useful for testing rust pre-releases, but we need it in rust-source and rust-snapshot; move RUST_DIST_SERVER to rust-config.inc so we can set it to `dev-static.rust-lang.org` and use it from both locations. Signed-off-by: Alex Kiernan ---

Re: [OE-core][dunfell][PATCH] tzdata: Upgrade to 2023d

2023-12-30 Thread Steve Sakoman
On Sat, Dec 30, 2023 at 4:37 AM Shubham Kulkarni wrote: > > Hi Steve, > > I have sent this patch to upgrade tzdata to the latest version "2023d" for > dunfell branch. > The mailing list link for the same: > https://lists.openembedded.org/g/openembedded-core/message/192913 > > Can you please

Re: [OE-Core][PATCH v4 00/10] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-30 Thread Alex Kiernan
On Sat, Dec 30, 2023 at 11:08 AM Richard Purdie wrote: > > On Fri, 2023-12-29 at 11:44 +, Alex Kiernan wrote: > > This is the 1.74.1 rust series rebased to include a revert of > > https://github.com/rust-lang/cc-rs/commit/c4f414f449bb7cffba3bc923f277704d1d08a8ec > > which I'm pretty sure is

Re: [OE-core][dunfell][PATCH] tzdata: Upgrade to 2023d

2023-12-30 Thread Shubham Kulkarni via lists.openembedded.org
Hi Steve, I have sent this patch to upgrade tzdata to the latest version "2023d" for dunfell branch. The mailing list link for the same: https://lists.openembedded.org/g/openembedded-core/message/192913 Can you please check if this patch can be accepted in the dunfell-nut branch of

Re: [OE-core] [bitbake-devel] pthread_cancel bug on ubuntu2004/debian11

2023-12-30 Thread Richard Purdie
On Wed, 2023-12-27 at 11:30 -0700, Joshua Watt wrote: > On Wed, Dec 27, 2023 at 4:28 AM Richard Purdie > wrote: > > > > I wanted to write down some thoughts on this which I have all the > > pieces handy. > > > > We saw a nightly layer check fail for meta-openembedded: > > > >

Re: [OE-Core][PATCH v4 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-30 Thread Richard Purdie
On Sat, 2023-12-30 at 10:40 +, Alex Kiernan wrote: > On Sat, Dec 30, 2023 at 12:41 AM Richard Purdie > wrote: > > > > On Fri, 2023-12-29 at 14:04 +0200, Alexander Kanavin wrote: > > > Reproducibility exclusions should be listed in the test itself, so > > > this continues to be built in

Re: [OE-Core][PATCH v4 00/10] Stepwise rust upgrade 1.71.1 -> 1.74.1

2023-12-30 Thread Richard Purdie
On Fri, 2023-12-29 at 11:44 +, Alex Kiernan wrote: > This is the 1.74.1 rust series rebased to include a revert of > https://github.com/rust-lang/cc-rs/commit/c4f414f449bb7cffba3bc923f277704d1d08a8ec > which I'm pretty sure is what's causing our filename churn. I've checked > 1.72.0 and 1.74.1

Re: [OE-Core][PATCH v4 03/10] meta-selftest: hello-rs: Simple rust test recipe

2023-12-30 Thread Alex Kiernan
On Sat, Dec 30, 2023 at 12:41 AM Richard Purdie wrote: > > On Fri, 2023-12-29 at 14:04 +0200, Alexander Kanavin wrote: > > Reproducibility exclusions should be listed in the test itself, so > > this continues to be built in regular world builds (otherwise it may > > silently regress). > > FWIW