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

use system libffi (fixes arm64) #26

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adaugherity
Copy link

This is not a complete fix for arm, but it does get past the immediate problem of the ffi gem failing to install, as detailed in #24.

I also changed it to only fetch repo information (apt-get update) once at the beginning, and only clean once at the end. This saves dozens of megabytes and a few seconds to a few minutes of build time, depending on your connection speed.

Without this, it fails to build a native ffi gem and falls back on a
bundled libffi which is too old to support aarch64.
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.

1 participant