-
Notifications
You must be signed in to change notification settings - Fork 136
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
Conversation
@@ -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. |
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.
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
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.
ARM build were introduced, so I don't think this PR is needed anymore. |
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.