-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Prepare for ARM/FreeBSD/NetBSD nightlies #2510
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
Conversation
r? @huonw (rust_highfive has picked a reviewer for you, use r? to override) |
Some of the makefile/script changes here as well were also done to support out-of-tree build directories (when I was playing around inside docker). The updates of crates were just done largely to add r? @brson |
b11e724
to
005de35
Compare
cc @japaric |
f87379a
to
d363095
Compare
@bors r+ fuck makefiles |
📌 Commit d363095 has been approved by |
This commit beefs up Cargo's makefiles to support nightly builds of Cargo for multiple platforms. This primarily involves vendoring the logic of how to build OpenSSL for statically linking against Cargo into the Makefiles directly. We'll have to update the version of OpenSSL as releases are made, but we essentially already do that with the normal docker container. The Linux nightlies will still run in the normal dist docker container (a really old CentOS build) and builds for new platforms will happen in the standard linux-cross container we use for other cross builds. The nightly versions of these will produce Cargo tarballs for a whole bunch of platforms to get uploaded. This has been tested in the `alexcrichton/rust-slave-linux-cross:2016-03-17b` docker container for the 3 ARM targets and FreeBSD target. NetBSD will come once rust-lang/rust#32407 lands.
Prepare for ARM/FreeBSD/NetBSD nightlies This commit beefs up Cargo's makefiles to support nightly builds of Cargo for multiple platforms. This primarily involves vendoring the logic of how to build OpenSSL for statically linking against Cargo into the Makefiles directly. We'll have to update the version of OpenSSL as releases are made, but we essentially already do that with the normal docker container. The Linux nightlies will still run in the normal dist docker container (a really old CentOS build) and builds for new platforms will happen in the standard linux-cross container we use for other cross builds. The nightly versions of these will produce Cargo tarballs for a whole bunch of platforms to get uploaded. This has been tested in the `alexcrichton/rust-slave-linux-cross:2016-03-17b` docker container for the 3 ARM targets and FreeBSD target. NetBSD will come once rust-lang/rust#32407 lands.
☀️ Test successful - cargo-linux-32, cargo-linux-64, cargo-mac-32, cargo-mac-64, cargo-win-gnu-32, cargo-win-gnu-64, cargo-win-msvc-32, cargo-win-msvc-64 |
This commit beefs up Cargo's makefiles to support nightly builds of Cargo for
multiple platforms. This primarily involves vendoring the logic of how to build
OpenSSL for statically linking against Cargo into the Makefiles directly. We'll
have to update the version of OpenSSL as releases are made, but we essentially
already do that with the normal docker container.
The Linux nightlies will still run in the normal dist docker container (a really
old CentOS build) and builds for new platforms will happen in the standard
linux-cross container we use for other cross builds. The nightly versions of
these will produce Cargo tarballs for a whole bunch of platforms to get
uploaded.
This has been tested in the
alexcrichton/rust-slave-linux-cross:2016-03-17b
docker container for the 3 ARM targets and FreeBSD target. NetBSD will come once
rust-lang/rust#32407 lands.