Skip to content

Verify Apple LLVM versions independently #27006

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

Merged
merged 1 commit into from
Jul 13, 2015
Merged

Verify Apple LLVM versions independently #27006

merged 1 commit into from
Jul 13, 2015

Conversation

rpendleton
Copy link
Contributor

Since Apple LLVM no longer reports which version of LLVM it's based off (starting with 7.0.0), I believe it's time to start checking Apple LLVM versions directly.

The changes in this pull request update the configure script to check "Apple LLVM" versions independently if no "based off" version can be found. If a "based off" version is included, however, it will be preferred.

(This is a less hacky version of #26653)

@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.

If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.

Please see the contribution instructions for more information.

@brson
Copy link
Contributor

brson commented Jul 13, 2015

@bors r+

The configure script snowball rolls on.

@bors
Copy link
Collaborator

bors commented Jul 13, 2015

📌 Commit 7131e6f has been approved by brson

bors added a commit that referenced this pull request Jul 13, 2015
Since Apple LLVM no longer reports which version of LLVM it's based off (starting with 7.0.0), I believe it's time to start checking Apple LLVM versions directly.

The changes in this pull request update the `configure` script to check "Apple LLVM" versions independently if no "based off" version can be found. If a "based off" version is included, however, it will be preferred.

(This is a less hacky version of #26653)
@bors
Copy link
Collaborator

bors commented Jul 13, 2015

⌛ Testing commit 7131e6f with merge 72483f5...

@bors bors merged commit 7131e6f into rust-lang:master Jul 13, 2015
@felixbuenemann
Copy link

I think this can be simplified by only having two instead of three different checks. According to https://gist.github.com/yamaya/2924292 Apple LLVM 4.2+ should be compatible, so I think the "based on LLVM" check could be completely dropped. (The complete list would be 4.2, 5.0, 6.0, 6.1, 7.0)

@rpendleton
Copy link
Contributor Author

That's possible too. I just wasn't sure which versions of Apple LLVM were compatible and didn't want to break something I didn't understand.

@rpendleton rpendleton deleted the apple-llvm branch July 14, 2015 06:56
@alexcrichton alexcrichton added beta-nominated Nominated for backporting to the compiler in the beta channel. T-tools labels Aug 3, 2015
@brson brson added beta-accepted Accepted for backporting to the compiler in the beta channel. and removed beta-nominated Nominated for backporting to the compiler in the beta channel. labels Aug 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beta-accepted Accepted for backporting to the compiler in the beta channel.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants