Skip to content

use system libffi (fixes arm64)#26

Open
adaugherity wants to merge 2 commits into
gauntlt:masterfrom
adaugherity:arm64
Open

use system libffi (fixes arm64)#26
adaugherity wants to merge 2 commits into
gauntlt:masterfrom
adaugherity:arm64

Conversation

@adaugherity

Copy link
Copy Markdown

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