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

OS X no longer reports upstream LLVM version #26292

Closed
ghost opened this issue Jun 14, 2015 · 4 comments
Closed

OS X no longer reports upstream LLVM version #26292

ghost opened this issue Jun 14, 2015 · 4 comments
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. O-macos Operating system: macOS

Comments

@ghost
Copy link

ghost commented Jun 14, 2015

Starting with OS X El Capitan, the output of clang --version is similar to:

Apple LLVM version 7.0.0 (clang-700.0.53)
Target: x86_64-apple-darwin15.0.0
Thread model: posix

This means, going forward, that the logic at

rust/configure

Line 974 in 3d74fbd

CFG_CLANG_VERSION=$($CFG_CC \
can no longer accurately determine what version of clang is running on OS X.

Before El Capitan's beta I would have suggested having pairs of Apple Clang versions and their upstream counterparts to compare to (i.e. using a resource such as https://gist.github.com/yamaya/2924292) but I imagine the new --version output is Apple subtly suggesting applications shouldn't need to know what version of LLVM is under the hood.

@nagisa
Copy link
Member

nagisa commented Jun 14, 2015

Apple subtly suggesting applications shouldn't need to know what version of LLVM is under the hood.

We are not an application, we are a compiler. Since they do not want us to, anymore, I guess the only way is to go ahead and ship our own set of LLVM tools (we currently do not).

@polidore
Copy link

any safe workaround?

@nagisa
Copy link
Member

nagisa commented Jul 18, 2015

#27006 was merged, therefore it should work.

@steveklabnik
Copy link
Member

closing, thanks @nagisa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. O-macos Operating system: macOS
Projects
None yet
Development

No branches or pull requests

3 participants