www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - LLVM Version

reply JMRyan <jmryan nospam.nul> writes:
Is there a preferred LLVM version to use with LDC?  Is there any 
reason not to use the latest.  Version 5.0.0 came out in Sept.  
Okay, the fact that it's an x.0.0 might be a reason not to use 
it. :-)  But do I have to worry about breaking changes that would 
apply to LDC?  Thank you.
Nov 26
next sibling parent Guillaume Piolat <first.last gmail.com> writes:
On Sunday, 26 November 2017 at 19:55:20 UTC, JMRyan wrote:
 Is there a preferred LLVM version to use with LDC?  Is there 
 any reason not to use the latest.  Version 5.0.0 came out in 
 Sept.  Okay, the fact that it's an x.0.0 might be a reason not 
 to use it. :-)  But do I have to worry about breaking changes 
 that would apply to LDC?  Thank you.
In general LDC/LLVM keeps getting faster as version numbers go up, and I don't think platform support is harmed in any way by those newer LLVM versions.
Nov 26
prev sibling parent Joakim <dlang joakim.fea.st> writes:
On Sunday, 26 November 2017 at 19:55:20 UTC, JMRyan wrote:
 Is there a preferred LLVM version to use with LDC?  Is there 
 any reason not to use the latest.  Version 5.0.0 came out in 
 Sept.  Okay, the fact that it's an x.0.0 might be a reason not 
 to use it. :-)  But do I have to worry about breaking changes 
 that would apply to LDC?  Thank you.
The official releases since ldc 1.5 are all built with llvm 5.0: https://github.com/ldc-developers/ldc/releases There was an issue on Android/ARM where you now have to specify the CPU you're building for, but other than small stuff like that, I see no reason not to use the latest llvm: https://github.com/ldc-developers/ldc/issues/2406
Nov 26