Can Rust and Clang use a common llvm ?
On the YP tech call today, we were talking about the poky image build time and FS footprint.
One idea that we've been blocked on for a while is to only build llvm once or at least not 3 or more times like we had been for llvm, clang-llvm, rust-llvm, ...
Now that clang is in oe-core, we can make some progress and we should look into avoiding the need to build rust-llvm as well.
Ross hacked things up and is able to build rust-native but target rust fails. See:
https://git.yoctoproject.org/poky-contrib/log/?h=ross/rustclang
Yash, Sundeep,
Let's add this to the long list of compiler improvements that I'd say belong in the following order:
1. Keep rust up-to-date,
2. Eliminate rust-llvm
3. Reduce gcc testsuite failures
4. Clang testsuite
5. Add ptest for binutils
6. Other toolchain things I've forgotten.
Some of these things will be worked on by different people
so hopefully we can deliver a couple of them (from the 1-4 part of the list) well before the M3 milestone.
Signature · 2 lines
# Randy MacLeod # Wind River Linux
Quoted 6 lines · Randy MacLeod
On the YP tech call today, we were talking about the poky image build time and FS footprint.
One idea that we've been blocked on for a while is to only build llvm once or at least not 3 or more times like we had been for llvm, clang-llvm, rust-llvm, ...
Quoted 8 lines
Now that clang is in oe-core, we can make some progress and we should look into avoiding the need to build rust-llvm as well.
Ross hacked things up and is able to build rust-native but target rust fails. See:
https://git.yoctoproject.org/poky-contrib/log/?h=ross/rustclang
We will look into it.
Quoted 12 lines
Yash, Sundeep,
Let's add this to the long list of compiler improvements that I'd say belong in the following order:
1. Keep rust up-to-date,
2. Eliminate rust-llvm
3. Reduce gcc testsuite failures
Quoted 8 lines
4. Clang testsuite
5. Add ptest for binutils
6. Other toolchain things I've forgotten.Some of these things will be worked on by different people
so hopefully we can deliver a couple of them (from the 1-4 part of the list) well before the M3 milestone.
Sure Randy, we will prioritize and plan the activities in given order. We will discuss more on tomorrow's call. Mostly about the binutils ptest activity, because the oe-selftest actually runs the binutils test suite.
Thanks,
Sundeep K.
Quoted 3 lines
Signature · 2 lines
# Randy MacLeod # Wind River Linux