Revert "Revert "Generate 32 bit native engine binaries.""

Review Request #4380 - Created Nov. 16, 2016 and submitted

Information
John Sirois
pants
jsirois/issues/4035/bintray_32bit_linux
4035, 4057
0995c16...
Reviewers
pants-reviews
kwlzn, mateor, stuhood
This reverts commit 23f05de3ba6f8c08dfbb9035ceeed48953110fa0.

In addition, `gcc-multilib` is installed in the Travis-CI linux shards
to enable cross-compiling a 32 bit native-engine binary on those nodes.

 .travis.yml                                           | 22 +++++++++++-----------
 build-support/bin/native/bootstrap.sh                 | 44 +++++++++++++++++++++++++++++++++++---------
 build-support/bin/native/generate-bintray-manifest.sh | 17 +++++++++++------
 3 files changed, 57 insertions(+), 26 deletions(-)

Verified gcc-multilib was sufficient to get 32 bit cross-compiling
working with:

docker run -t --rm -v $PWD/src/rust:/tmp ubuntu:trusty /bin/bash -c '
apt-get update && \
apt-get install -y curl gcc-multilib && \
curl https://sh.rustup.rs -sSf > /tmp/rustup && \
sh /tmp/rustup -y && \
~/.cargo/bin/rustup target add i686-unknown-linux-gnu && \
~/.cargo/bin/cargo build \
  --target i686-unknown-linux-gnu \
  --manifest-path /tmp/engine/Cargo.toml'

CI went green here:
https://travis-ci.org/pantsbuild/pants/builds/176263891

John Sirois
Kris Wilson
Mateo Rodriguez
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Change Summary:

Now on master:

git log -1 origin/master
commit 396e3e18f10a9b408c322cb3b141d3dba0aac75e
Author: John Sirois <john.sirois@gmail.com>
Date:   Tue Nov 15 20:21:08 2016 -0800

    Revert "Revert "Generate 32 bit native engine binaries.""
    
    This reverts commit 23f05de3ba6f8c08dfbb9035ceeed48953110fa0.
    
    In addition, `gcc-multilib` is installed in the Travis-CI linux shards
    to enable cross-compiling a 32 bit native-engine binary on those nodes.
    
    Testing Done:
    Verified gcc-multilib was sufficient to get 32 bit cross-compiling
    working with:
    ```
    docker run -t --rm -v $PWD/src/rust:/tmp ubuntu:trusty /bin/bash -c '
    apt-get update && \
    apt-get install -y curl gcc-multilib && \
    curl https://sh.rustup.rs -sSf > /tmp/rustup && \
    sh /tmp/rustup -y && \
    ~/.cargo/bin/rustup target add i686-unknown-linux-gnu && \
    ~/.cargo/bin/cargo build \
      --target i686-unknown-linux-gnu \
      --manifest-path /tmp/engine/Cargo.toml'
    ```
    
    CI went green here:
      https://travis-ci.org/pantsbuild/pants/builds/176263891
    
    Bugs closed: 4035, 4057
    
    Reviewed at https://rbcommons.com/s/twitter/r/4380/
Loading...