Apple shows the following LLVM version. But the last LLVM version is just 9. I don't know where 10 comes from. Does Apple use a different version number system? Thanks. $ /Library/Developer/CommandLineTools/usr/bin/clang --version Apple LLVM version 10.0.0 (clang-1000.10.44.4) Target: x86_64-apple-darwin17.7.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin -- Regards, Peng
Yes, Apple uses a different version system. I think their version number follows the Xcode version number. ~Craig On Mon, Feb 18, 2019 at 8:48 AM Peng Yu via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Apple shows the following LLVM version. But the last LLVM version is > just 9. I don't know where 10 comes from. Does Apple use a different > version number system? Thanks. > > $ /Library/Developer/CommandLineTools/usr/bin/clang --version > Apple LLVM version 10.0.0 (clang-1000.10.44.4) > Target: x86_64-apple-darwin17.7.0 > Thread model: posix > InstalledDir: /Library/Developer/CommandLineTools/usr/bin > > -- > Regards, > Peng > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190218/f364cdcc/attachment.html>
How do I know the upstream LLVM version number?> Yes, Apple uses a different version system. I think their version number follows the Xcode version number.-- Regards, Peng
Xcode10.1’s LLVM is based off LLVM upstream 6.0.1, there was a mostly accurate version matching scheme in Xcode’s Wikipedia page, you might consider checking that out Zhang> 在 2019年2月18日,16:48,Peng Yu via llvm-dev <llvm-dev at lists.llvm.org> 写道: > > Apple shows the following LLVM version. But the last LLVM version is > just 9. I don't know where 10 comes from. Does Apple use a different > version number system? Thanks. > > $ /Library/Developer/CommandLineTools/usr/bin/clang --version > Apple LLVM version 10.0.0 (clang-1000.10.44.4) > Target: x86_64-apple-darwin17.7.0 > Thread model: posix > InstalledDir: /Library/Developer/CommandLineTools/usr/bin > > -- > Regards, > Peng > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
For legacy versions which AAPL open-sourced its code-base, the upstream version number could be deducted from the code. For later versions which shipped with code, you can just read the corresponding Swift Compiler’s LLVM Library source code to deduct the LLVM upstream version for that release. As far as I can tell, that is. Zhang> 在 2019年2月18日,16:48,Peng Yu via llvm-dev <llvm-dev at lists.llvm.org> 写道: > > Apple shows the following LLVM version. But the last LLVM version is > just 9. I don't know where 10 comes from. Does Apple use a different > version number system? Thanks. > > $ /Library/Developer/CommandLineTools/usr/bin/clang --version > Apple LLVM version 10.0.0 (clang-1000.10.44.4) > Target: x86_64-apple-darwin17.7.0 > Thread model: posix > InstalledDir: /Library/Developer/CommandLineTools/usr/bin > > -- > Regards, > Peng > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev