www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - ldc 0.15.1 minimal patch to support llvm 3.6.1

reply "John Colvin" <john.loughran.colvin gmail.com> writes:
I need to be able to get ldc 0.15.1 to compile with llvm 3.6.1 
for homebrew. Are there some convenient commits I can use to 
patch it, or is it all a bit more complicated than that?

Also, what's the expected release for 0.15.2? If you expect it to 
be fully released very shortly, this wouldn't be worth doing and 
we'd just wait until then.
Jul 08 2015
parent reply "Kai Nacke" <kai redstar.de> writes:
On Wednesday, 8 July 2015 at 08:14:33 UTC, John Colvin wrote:
 I need to be able to get ldc 0.15.1 to compile with llvm 3.6.1 
 for homebrew. Are there some convenient commits I can use to 
 patch it, or is it all a bit more complicated than that?

 Also, what's the expected release for 0.15.2? If you expect it 
 to be fully released very shortly, this wouldn't be worth doing 
 and we'd just wait until then.
Hi John, at least you need the patch from this pull request https://github.com/gentoo/dlang/pull/14 to compile(!) 0.15.1 with LLVM 3.6. In order to get a working ldc you also need this commit: https://github.com/ldc-developers/ldc/commit/d1e764cec1788f4c3f3d09045b8adb8dc9c0d857. You would touch more than 40 files with both patch sets. I think it is better to spent the effort to test 0.15.2-beta2. (I try to release 0.15.2 soon.) Regards, Kai
Jul 08 2015
parent "John Colvin" <john.loughran.colvin gmail.com> writes:
On Wednesday, 8 July 2015 at 16:24:04 UTC, Kai Nacke wrote:
 On Wednesday, 8 July 2015 at 08:14:33 UTC, John Colvin wrote:
 I need to be able to get ldc 0.15.1 to compile with llvm 3.6.1 
 for homebrew. Are there some convenient commits I can use to 
 patch it, or is it all a bit more complicated than that?

 Also, what's the expected release for 0.15.2? If you expect it 
 to be fully released very shortly, this wouldn't be worth 
 doing and we'd just wait until then.
Hi John, at least you need the patch from this pull request https://github.com/gentoo/dlang/pull/14 to compile(!) 0.15.1 with LLVM 3.6. In order to get a working ldc you also need this commit: https://github.com/ldc-developers/ldc/commit/d1e764cec1788f4c3f3d09045b8adb8dc9c0d857. You would touch more than 40 files with both patch sets. I think it is better to spent the effort to test 0.15.2-beta2. (I try to release 0.15.2 soon.) Regards, Kai
Hmm, that doesn't seem ideal. I think we'll just have to distribute the beta as stable for a short while until 0.15.2 is released.
Jul 09 2015