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

Prepare for ARM/FreeBSD/NetBSD nightlies #2510

Merged
merged 1 commit into from Mar 23, 2016

Conversation

Projects
None yet
5 participants
@alexcrichton
Copy link
Member

alexcrichton commented Mar 22, 2016

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.

@rust-highfive

This comment has been minimized.

Copy link

rust-highfive commented Mar 22, 2016

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton

This comment has been minimized.

Copy link
Member Author

alexcrichton commented Mar 22, 2016

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 cfg(unix) dependencies (via the new syntax) on openssl-sys, and that's also why the Cargo snapshot has been updated (to a Cargo which understands this syntax).

r? @brson

@rust-highfive rust-highfive assigned brson and unassigned huonw Mar 22, 2016

@alexcrichton alexcrichton force-pushed the alexcrichton:xcompile branch 2 times, most recently from b11e724 to 005de35 Mar 22, 2016

@alexcrichton

This comment has been minimized.

Copy link
Member Author

alexcrichton commented Mar 22, 2016

@alexcrichton alexcrichton force-pushed the alexcrichton:xcompile branch 2 times, most recently from f87379a to d363095 Mar 22, 2016

@brson

This comment has been minimized.

Copy link
Contributor

brson commented Mar 22, 2016

@bors r+ fuck makefiles

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 22, 2016

📌 Commit d363095 has been approved by brson

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.

@alexcrichton alexcrichton force-pushed the alexcrichton:xcompile branch from d363095 to 83b4f39 Mar 22, 2016

@alexcrichton

This comment has been minimized.

Copy link
Member Author

alexcrichton commented Mar 23, 2016

@bors: r=brson 83b4f39

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Mar 23, 2016

⌛️ Testing commit 83b4f39 with merge e43adeb...

bors added a commit that referenced this pull request Mar 23, 2016

Auto merge of #2510 - alexcrichton:xcompile, r=brson
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.
@bors

This comment has been minimized.

@bors bors merged commit 83b4f39 into rust-lang:master Mar 23, 2016

3 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details

@bors bors referenced this pull request Mar 23, 2016

Merged

Network retry issue 1602 #2396

@alexcrichton alexcrichton deleted the alexcrichton:xcompile branch Mar 23, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.