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

Smaller gems #172

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

Smaller gems #172

wants to merge 2 commits into from

Commits on May 29, 2024

  1. Use more consistent naming for files

    Rubygems(and even rbconfig) use standard architecture naming. Instead
    of going against the grain ensure that the architecture matching that
    naming for the most part.
    
    Small gotcha is that arch64, aarch64, arm64 to be the
    same architecture.
    tabfugnic committed May 29, 2024
    Configuration menu
    Copy the full SHA
    d27e884 View commit details
    Browse the repository at this point in the history
  2. Build gems based on platform

    The previous gem size peaked at over 250MB by providing an unnecessary
    amount of unused binaries.
    
    Using the os host(kernel name) and the architecture, separate out
    individual platform gemspecs provide a subset of the needed files.
    
    This change is NOT perfect. It can only limit platforms by kernel and
    architecture. It does not take the distribution of Linux into account,
    so it will still provide an unnecessary number of files, but fewer.
    
    Minor updates:
    
    - Set minimum ruby version
    - Set versions for development dependencies
    tabfugnic committed May 29, 2024
    Configuration menu
    Copy the full SHA
    bf57424 View commit details
    Browse the repository at this point in the history