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

Enable rust to build with LLVM 3.3/3.4 #12581

Merged
merged 2 commits into from Feb 27, 2014

Conversation

Projects
None yet
4 participants
@alexcrichton
Copy link
Member

alexcrichton commented Feb 26, 2014

In doing so, revert travis to not using a 3.5 build because it seems to be changing enough that it's breaking our C++ glue frequently enough.

alexcrichton added some commits Feb 26, 2014

rustc: Get rustc compiling with LLVM 3.{3,4} again
The travis builds have been breaking recently because LLVM 3.5 upstream is
changing. This looks like it's likely to continue, so it would be more useful
for us if we could lock ourselves to a system LLVM version that is not changing.

This commit has the support to bring our C++ glue to LLVM back in line with what
was possible back in LLVM 3.{3,4}. I don't think we're going to be able to
reasonably protect against regressions in the future, but this kind of code is a
good sign that we can continue to use the system LLVM for simple-ish things.
Codegen for ARM won't work and it won't have some of the perf improvements we
have, but using the system LLVM should work well enough for development.
travis: Use LLVM 3.3 from the official repos
We can be certain that this version of LLVM will not be changing, so we don't
have to worry about API drift over time.
@flaper87

This comment has been minimized.

Copy link
Contributor

flaper87 commented Feb 26, 2014

LGTM 🍰 👍

@brson

This comment has been minimized.

Copy link

brson commented on bbdaf01 Feb 27, 2014

r+ p=1

@bors

This comment has been minimized.

Copy link
Contributor

bors commented on bbdaf01 Feb 27, 2014

saw approval from brson
at alexcrichton@bbdaf01

This comment has been minimized.

Copy link
Contributor

bors replied Feb 27, 2014

merging alexcrichton/rust/older-llvm = bbdaf01 into auto

This comment has been minimized.

Copy link
Contributor

bors replied Feb 27, 2014

alexcrichton/rust/older-llvm = bbdaf01 merged ok, testing candidate = 68a92c5

This comment has been minimized.

Copy link
Contributor

bors replied Feb 27, 2014

This comment has been minimized.

Copy link
Contributor

bors replied Feb 27, 2014

fast-forwarding master to auto = 68a92c5

bors added a commit that referenced this pull request Feb 27, 2014

auto merge of #12581 : alexcrichton/rust/older-llvm, r=brson
In doing so, revert travis to not using a 3.5 build because it seems to be changing enough that it's breaking our C++ glue frequently enough.

@bors bors closed this Feb 27, 2014

@bors bors merged commit bbdaf01 into rust-lang:master Feb 27, 2014

1 check passed

default all tests passed

@alexcrichton alexcrichton deleted the alexcrichton:older-llvm branch Feb 27, 2014

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.