quill icon indicating copy to clipboard operation
quill copied to clipboard

arm64 releases?

Open knl opened this issue 3 years ago • 7 comments

Thanks for the release!

Will ~amd64~ arm64 be also supported?

knl avatar Jun 26 '21 22:06 knl

Isn't x86_64 practically the same as amd64?

ninegua avatar Jun 27 '21 07:06 ninegua

Isn't x86_64 practically the same as amd64?

Sorry, I miswrote. I meant arm64, specifically linux variants. I will update the title.

knl avatar Jun 27 '21 08:06 knl

arm32 as well. I have a pi zero which would make a great cold storage device.

jplevyak avatar Jun 29 '21 02:06 jplevyak

So are we talking about supporting an automated release process or just making sure that it compiles for the architectures?

IMO, it would make sense to build fat binaries for darwin as part of the release process. On the other hand, we can expect more technical knowledge from a pi owner and just give some compile instructions for now.

Sawchord avatar Jun 29 '21 15:06 Sawchord

I attempted to build aarch64 support in #25, but seems there is a problem compiling ring.

ninegua avatar Jun 30 '21 03:06 ninegua

I am able to cross compile arm32 and run in my Raspberry Pi Zero. There are two problems: ring and openssl.

  • ring: Use cross instead of cargo build. Here is my Cross.toml
[target.arm-unknown-linux-gnueabihf]
image = "arm"

arm Dockerfile

FROM rustembedded/cross:arm-unknown-linux-gnueabihf-0.2.1
RUN apt-get update && \
    apt-get install --assume-yes protobuf-compiler
  • openssl: Use the vendored feature to statically link libssl
openssl = { version = "0.10.32", features = ["vendored"] }

chenyan-dfinity avatar Aug 28 '21 20:08 chenyan-dfinity

@chenyan-dfinity Can we close this one now?

chmllr avatar Sep 09 '21 07:09 chmllr