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

Add support for cross builds for multiple target platforms. #74

Merged
merged 3 commits into from May 5, 2013

Commits on Mar 13, 2013

  1. Store cross compiled Ruby into seperate directories depending on HOST…

    … platform.
    
    Also prefix the selection of rbconfig in config.yml with the corresponding
    Ruby platform.
    
    This allowes to use cross compiled Ruby-builds for multiple target
    architectures on the same machine. This is especially usefull to compile
    for Ruby-2.0 i386-mingw32 and x64-mingw32 platforms.
    larskanis committed Mar 13, 2013
    Copy the full SHA
    2d7bc8c View commit details
    Browse the repository at this point in the history
  2. Add possibility to set per-platform cross_config_options.

    This is especially useful to set distinct library paths for different
    target platforms.
    larskanis committed Mar 13, 2013
    Copy the full SHA
    8828825 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2013

  1. Use platform specific directories for packaging gem files.

    Building gems for distinct platforms within one rake run conflicted
    in the lib/ directory, because all binary extensions were stored
    there and were copied from there to become packaged.
    This resulted in storing a binary extension of a wrong platform in
    a gem.
    
    To avoid this, the files to package are now stored in a platform specific
    stage directory and are used to package the specific gem.
    larskanis committed Mar 27, 2013
    Copy the full SHA
    a3365c9 View commit details
    Browse the repository at this point in the history