Giter Site home page Giter Site logo

Comments (5)

cardoe avatar cardoe commented on June 15, 2024

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.

codyps avatar codyps commented on June 15, 2024

I'm not aware of any specific restrictions or allowances for the build architectures used in yocto.

from meta-rust.

cardoe avatar cardoe commented on June 15, 2024

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.

codyps avatar codyps commented on June 15, 2024

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.

cardoe avatar cardoe commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.