Comments (5)
I was always under the impression that Yocto required the build host to be either x86_64 or i686/i586. Are there other architectures past those that Yocto supports?
from meta-rust.
I'm not aware of any specific restrictions or allowances for the build architectures used in yocto.
from meta-rust.
So this should be possible to do now with a bbappend that overrides the hashes of the stage0 toolchains. @jmesmon Not sure if you want to define some kind of scope on this ticket so we have an idea of what complete is and isn't.
from meta-rust.
Goal here was primarily to form the recipes so that the data for multiple build archs could be defined at once, so we'd have a path to add support for new ones as people needed it.
I don't think being able (or being required) to override hashes/locations to allow a different build arch is really completion.
On possible solution is to use overrides to complete this. Something like:
OVERRIDES_append = ":build-${BUILD_ARCH}-${BUILD_OS}"
RUSTC_STAGE0_SRCREV_build-x86_64-linux = "..."
RUSTC_STAGE0_SRCREV_build-x86-linux = "..."
RUSTC_STAGE0_SRCREV_build-arm-linux = "..."
And similar for other variables. Will likely want to select slightly different value for OVERRIDES, and confirm that there aren't any likely override conflicts.
I held off on doing this as it didn't appear that this approach was used anywhere else in yocto, so I wasn't quite sure it was the right way of handling things.
from meta-rust.
I agree that this isn't complete I just wanted to scope out what complete was. Thanks for the link about overrides. It was something I didn't know about. You and @derekstraka certainly have more Yocto experience than I do and I'm more or less equivalent to a billion monkeys pounding on a keyboard until it builds
from meta-rust.
Related Issues (20)
- Is the TARGET_SYS pitfall still valid?
- Code generation issues when using meta-rust on 32 bit ARM targets with no/limited vector instruction support HOT 10
- CI is broken, no self-hosted runner available to pick up the job HOT 1
- Build error meta-toolchain with rust HOT 1
- rustc-native: Can't get target-list HOT 3
- Update to at least Rust 1.66.1, preferably 1.68.0 HOT 12
- Dunfell HOT 2
- Error building sdk: package is trying to install files into a shared area HOT 2
- `llvm.static-libstdcpp` should be disabled
- cbindgen build failure
- Building 1.71.0 on Honister misses `-lzstd` and symbols are unresolved HOT 4
- Add support for mickledore
- Building cargo 1.72 on Kirkstone fails: could not compile `proc-macro2` (lib) HOT 2
- Bitbake fails to parse the rust-hello-world recipe on mickedore HOT 1
- rust-native fails in do_compile with poky mickeldore HOT 4
- `/build/tmp/hosttools/ld:` expected aarch64 got x86 HOT 2
- Workspace dependencies
- rust demo static compile not effect
- Failed to build the project to be made up only procedural macro HOT 1
- Support for nanbield ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meta-rust.