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

Linux binary gems #1571

Merged
merged 14 commits into from
Feb 2, 2020
Merged

Commits on Aug 17, 2018

  1. Add cross build task for Linux native gems.

    The current GLIBC requirement of the nokogiri.so is version 2.17.
    This means that distros before 2013 will be incompatible.
    
    No need for libiconv on linux - it's part of glibc.
    larskanis committed Aug 17, 2018
    Configuration menu
    Copy the full SHA
    df987d0 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2019

  1. Configuration menu
    Copy the full SHA
    aabf85c View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2019

  1. Support fat binary gems for ruby-2.7

    To updates to rake-compiler-dock-1.1.0, which does stripping of debug symbols per default.
    larskanis committed Dec 27, 2019
    Configuration menu
    Copy the full SHA
    8996290 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2019

  1. Configuration menu
    Copy the full SHA
    f2323f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 1, 2020

  1. Remove the mingw check for cross builds

    It is not necessary to conditionally set cross_* options.
    They are just ignored for native builds.
    It is also wrong, since mingw availablility doesn't tell anything about cross builds for other platforms.
    larskanis committed Jan 1, 2020
    Configuration menu
    Copy the full SHA
    64c715c View commit details
    Browse the repository at this point in the history
  2. Add recent rubies to fat binary build for linux targets

    This also enables parallel builds for all 4 targets.
    Run "rake gem:native -j1" to disable parallel builds.
    larskanis committed Jan 1, 2020
    Configuration menu
    Copy the full SHA
    cc596b1 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2020

  1. Move rake tasks for dll/so file checks out of "cross" task

    They were not triggered due to the namespaced definition.
    larskanis committed Jan 4, 2020
    Configuration menu
    Copy the full SHA
    8d9bf16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54343b6 View commit details
    Browse the repository at this point in the history
  3. Trigger specific platform binary gem instead of generic "gem" task

    The generic "gem" task triggers the platform ruby gem in addition to each target.
    Since the targets are started simultanously, this builds 4 times the same file.
    That sometimes leads to build failures.
    It can be avoided by generating only the specific target gem.
    larskanis committed Jan 4, 2020
    Configuration menu
    Copy the full SHA
    5dbbc9f View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2020

  1. Configuration menu
    Copy the full SHA
    27e9573 View commit details
    Browse the repository at this point in the history
  2. Bind the verify task for cross nokogiri.so to stage task

    The previous task was also triggered in "rake compile" on the native platform.
    Since the library dependencies are different then, compared to the cross build, it failed in this case.
    Binding to a task that is only invoked in cross builds solves this issue.
    
    It is the better choice in any case, since the new task is triggered at every cross build, even on re-runs.
    larskanis committed Jan 5, 2020
    Configuration menu
    Copy the full SHA
    6f2a6c2 View commit details
    Browse the repository at this point in the history
  3. Update rake to avoid warnings on ruby-2.7

    and to fix build with current ruby-head.
    larskanis committed Jan 5, 2020
    Configuration menu
    Copy the full SHA
    0fc47ac View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    17305ba View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2020

  1. Configuration menu
    Copy the full SHA
    28ddbed View commit details
    Browse the repository at this point in the history