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 a Docker container for doing automated builds for CloudABI. #47427

Merged
merged 4 commits into from
Jan 17, 2018

Commits on Jan 16, 2018

  1. Add a Docker container for doing automated builds for CloudABI.

    Setting up a cross compilation toolchain for CloudABI is relatively
    easy. It's just a matter of installing a somewhat recent version of
    Clang (5.0 preferred) and installing the corresponding
    ${target}-cxx-runtime package, containing a set of core C/C++ libraries
    (libc, libc++, libunwind, etc).
    
    Eventually it would be nice if we could also run 'x.py test'. That,
    however still requires some more work. Both libtest and compiletest
    would need to be adjusted to deal with CloudABI's requirement of having
    all of an application's dependencies injected. Let's settle for just
    doing 'x.py dist' for now.
    EdSchouten committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    24c3a6d View commit details
    Browse the repository at this point in the history
  2. Move dist-cloudabi/ into disabled/.

    There is not enough capacity to do automated builds for CloudABI at this
    time.
    EdSchouten committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    5801f95 View commit details
    Browse the repository at this point in the history
  3. Integrate dist-cloudabi into dist-various-2.

    As discussed in rust-lang#47427, let's not have a separate container for doing
    CloudABI builds. It's a lot faster if we integrate it into an existing
    container, so there's less duplication of what's being built.
    
    Upgrade the existing container to Ubuntu 17.10, which is required for
    CloudABI builds. The version of Clang shipped with 16.04 is not recent
    enough to support CloudABI properly.
    EdSchouten committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    ae4288f View commit details
    Browse the repository at this point in the history
  4. Only enable CloudABI builds for x86-64 for now.

    We'll turn on other architectures if it turns out we have enough
    capacity.
    EdSchouten committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    dcf0cd0 View commit details
    Browse the repository at this point in the history