-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rust-qoriq: Update to 1.82.0 rust toolchain #6307
Conversation
@hgy59 I haven't tested, but that may also work on 1.82/83 but fails on nightly being next targetted version (i.e. 1.84). Tested is 1.80.1 and ability to build Todo, package this resulting rust toolchain + publish on line to then update the |
@th0ma7 I did (almost) the same yesterday 😆 small differences: mk/spksrc.rust-env.mk:
so to create a toolchain call (in
The name of the variable is subject to change, but I dislike the Further I would like to include the toolchain version in the final archive name to omit the need of a release tag for every version and create all further releases under something like https://github.com/SynoCommunity/spksrc/releases/download/toolchains/rust But my final tests did not work and I planned to validate the whole cycle with a plain environment (later). Open questions:
|
@hgy59 I've updated the version to 1.82.0 and it works well. I've also implemented pretty much all of your suggested changes. Let me know what you think of the changes (and feel free to chime in additional subtilities you feel would be worth it). Lastly, reminder, we need to change back |
- use published rust 1.82.0 for qoriq - revert force of RUST_BUILD_TOOLCHAIN - add diyspk/pngquant (part of spk/imagemagick)
- temp build with all wheels
@th0ma7 congrats: nice work, and good news! everything works as expected. successfully built all diyspk of tools created with rust (bandwhich bat bottom dua dutree eza fd lsd procs ripgrep sd pngquant) for qoriq-6.2.4. and python311 including all wheels succeeded. for python310 I had to adjust setuptools for numpy and to add crossenv/bin to the path for cryptography and other wheels using maturin. only ffsync (i.e. syncstorage-rs) failed to build for qoriq-6.2.4 (so I left it unsupported) PS |
Lastly, reminder, we need to change back |
@th0ma7 as long as non of the packages (tools) require a different rust toolchain version, this solution works. So far we need a different version only for the hi3535 arch, this is not a problem either. Only when different tools require different toolchains for the same arch, this will be a problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I have a feeling that armv5 and armv7l may require a home build as well before long... wait to be seen. But as long as it works we're good! |
* rust-qoriq: update to 1.82.0-powerpc-unknown-linux-gnuspe - use published rust 1.82.0 for qoriq - add diyspk/pngquant (part of spk/imagemagick) * python310: fix build for numpy wheel --------- Co-authored-by: hgy59 <[email protected]>
Description
rust-qoriq: Update generation and use of 1.82.0 rust toolchain
Fixes #6297
Versions available: https://releases.rs/docs/
Checklist
all-supported
completed successfullyType of change