Skip to content
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

arm64 releases? #23

Open
knl opened this issue Jun 26, 2021 · 7 comments
Open

arm64 releases? #23

knl opened this issue Jun 26, 2021 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@knl
Copy link

knl commented Jun 26, 2021

Thanks for the release!

Will amd64 arm64 be also supported?

@ninegua
Copy link
Member

ninegua commented Jun 27, 2021

Isn't x86_64 practically the same as amd64?

@knl
Copy link
Author

knl commented Jun 27, 2021

Isn't x86_64 practically the same as amd64?

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

@knl knl changed the title amd64 releases? arm64 releases? Jun 27, 2021
@jplevyak
Copy link
Contributor

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

@chmllr chmllr added the help wanted Extra attention is needed label Jun 29, 2021
@Sawchord
Copy link

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.

@ninegua
Copy link
Member

ninegua commented Jun 30, 2021

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

@chenyan-dfinity
Copy link
Contributor

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"] }

@chmllr
Copy link
Contributor

chmllr commented Sep 9, 2021

@chenyan-dfinity Can we close this one now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants