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

Link C/C++ stdlib statically for binary gems #127

Merged
merged 7 commits into from
Jun 5, 2019
Merged

Commits on May 29, 2019

  1. Link C/C++ stlib statically for binary gems

    Also:
    1. Compile via `mkmf` instead of libsass's own Makefile.
       This is necessary to make cross-compilation work (rake-compiler hooks
       into mkmf).
    2. Do not use per-ruby versions of `libsass.so`. It is unnecessary,
       because `libsass.so` is Ruby-agnostic (the FFI gem is used instead to
       use it from any Ruby version).
    3. Add VERSION file to the non-precompiled gem.
    4. Clean before every build.
    glebm committed May 29, 2019
    Configuration menu
    Copy the full SHA
    82caf8e View commit details
    Browse the repository at this point in the history
  2. Enable LTO and -march=native

    -march=native is only enabled when not cross-compiling
    glebm committed May 29, 2019
    Configuration menu
    Copy the full SHA
    55a7a94 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    059198d View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2019

  1. Fix MacOS detection on jRuby

    glebm committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    0e9ca86 View commit details
    Browse the repository at this point in the history
  2. Simplify ffi_lib path lookup

    glebm committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    20f407d View commit details
    Browse the repository at this point in the history
  3. Also -mtune=native

    glebm committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    5f98917 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e1e44d2 View commit details
    Browse the repository at this point in the history