Skip to content

Apple Silicon M1 ARM64 Native Info #198

Closed
@fearoffish

Description

@fearoffish

I had no end of trouble figuring out the exact configuration of ENV vars and tools to use for this, so I thought I'd just document it here for others. With this I have Ruby 2.6.3, 2.6.6 and 2.7.2 installed through asdf-ruby.

  • Homebrew native installation (arm64)
  • Homebrew packages: libffi, libyaml, zlib, readline
  • ENV vars
    • export RUBY_CONFIGURE_OPTS="--with-zlib-dir=/opt/homebrew/opt/zlib --with-openssl-dir=/opt/homebrew/opt/[email protected] --with-readline-dir=/opt/homebrew/opt/readline --with-libyaml-dir=/opt/homebrew/opt/libyaml"
    • export RUBY_CFLAGS="-Wno-error=implicit-function-declaration"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions