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

Review Request #4380 — Created Nov. 16, 2016 and submitted — Latest diff uploaded

jsirois
pants
jsirois/issues/4035/bintray_32bit_linux
4035, 4057
0995c16...
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

Loading...