-
Notifications
You must be signed in to change notification settings - Fork 1.7k
ARM build #266
Comments
A fully functional parity can now be built on ARM. What's needed are these changes:
Here's an example 1.0 build. or a 1.1 build for slow networks. |
Why does it need rustc to even start? Shurely shome mishtake! |
cool - any chance we could get PRs for the required alterations? |
The As for the EDIT: |
rocksdb is sorted now |
Indeed, builds out of the box. Someone has tried cross-compilation targeting ARM: rust-lang/rust#32272 (comment) I suspect rocksdb is being built natively instead of cross-compiled. |
This is all a little over my head as it is my first time in Rust-land, and I am very much a beginner developer. I have been able to install Multirust on a RasPi3, and indeed I no longer have any rocksdb issues, however I am also(obviously) running into the [308] Could not compile @petevine Am I best off to wait for it to sort itself out? Or would you be so kind as to post a step-by-step to replacing old_nix with new_nix? |
Luckily for you, I already did that :) rust-lang/rust#32272 (comment) Don't forget to add your benchmark results here. |
@petevine Thanks for this, I will play around with it. Would you be opposed to me using your binary to create a Raspberry Pi image a distribute on www.ethembedded.com? Credit will be given of course... |
@phonikg Sure, go ahead if the binary works for you. |
its syncing now... block # 163,000 ...ill ensure it fully syncs without issue before releasing a fresh .img into the wild. Also Ill add benchmark for Raspi3 & Odroid XU3 (Octacore & 2GB ram) shortly. |
started this build on Rasp p2 B (Ubuntu Core ). syncing now |
So other than the fact that I had to start re-syncing fresh due to a power outage(parity --pruning --fast would not just continue) Both my RasPi2 & RasPi3 have been getting hung up often on blocks due to 0/0 peers... syncing for over 24hrs now and getting there, but. @General-Beck I'm curious how are you making out with yours? I cannot find a "parity Pi 2 B" on ethstats... |
@phonikg ethstats periodically disappears, the client statistics on an external server |
@phonikg I'd updated the build maybe a day or two later, and that's the one @General-Beck is using judging from ethstats. In case you're actually bumping into some old bugs, I advise using the later build too. Or maybe it's just slow internet connection. |
@petevine I think I have the latest as well... not buggy so much as I am at block #1184890... getting close:) |
@General-Beck Yeah |
@phonikg You should be using ZRAM! BTW, you mentioned owning a XU3 - you seem to have no problem using rust tools, so maybe you could run a little benchmark on it, to help llvm ARM guys tweak some unrolling settings? That could benefit code generation, with parity in mind, as unrolling is currently off during autovectorization. (I usually compile with the |
@petevine For sure... Ill give it a go, with zram installed;) |
@petevine how do I adjust for this: main.rs:16:9: 16:15 warning: variable does not need to be mutable, #[warn(unused_mut)] on by default |
OK NVM... ignore warnings RIGHT? n=1 running 2 tests N=2 running 2 tests N=4 running 2 tests N=8 running 2 tests |
Thanks! I'll repost the result in the LLVM bugtracker then. |
There is an ARM docker build image, so closing this. There is separate issue for musl/static build (#999) |
From a purely Rust/Cargo perspective it still doesn't build cleanly but at least the nix/mio situation should get fixed soon in the ecosystem. EDIT: |
No description provided.
The text was updated successfully, but these errors were encountered: