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

chore: build filecoin-ffi on arm based OS #278

Closed
wants to merge 14 commits into from

Conversation

alvin-reyes
Copy link

Simple PR to build filecoin-ffi on arm-based OS. This utilizes ubuntu but I also listed a few potential images that can be used.

  • Add a workflow or job on circleci to call this builder image

@@ -0,0 +1,27 @@
# filecoin-ffi build workaround

As of this writing, .circleci does not support arm based images and as a workaround we need to try and build the filecoin-ffi in a containerized environment. The workaround is to create a docker image using an ARM64 based operating system and build the binaries in the image. We can then pull (`cp`) the binaries to the host.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what "arm based images" are, but CircleCI has ARM64 support, which is e.g. be used by rust-fil-proofs: https://github.com/filecoin-project/rust-fil-proofs/blob/6260c2a5409bda6c2514e8c355d52623939f4bc7/.circleci/config.yml#L19-L22

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Thank you for this. I'll experiment with this image then.

I saw this note on circle ci.
image

@airenas airenas mentioned this pull request Nov 23, 2022
@vmx
Copy link
Contributor

vmx commented Oct 30, 2023

ARM build were introduced, so I don't think this PR is needed anymore.

@vmx vmx closed this Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants