PetarKirov / dlang.nix

Nix expressions for building D compilers
MIT License
6 stars 2 forks source link

Building DMD with LDC #11

Closed dukc closed 5 months ago

dukc commented 10 months ago

It is claimed that DMD, despite being a fast compiler already, is even faster when compiled with LDC. We would do well to take advantage of this, especially since it will presumably make running the tests faster.

dukc commented 6 months ago

Started working on this.

dukc commented 5 months ago

If anyone is following: Yes, still working on this. My inexperience makes progress very slow though. Currently the compiler seems to be building with ldmd2 but not running tests. The test makefile in dmd/compiler sets bad flags which result in the building compiler attempting to use include files of the druntime being built. Since the makefile is deprecated anyway, I'm attempting to get run.d working instead.

dukc commented 5 months ago

Merge request opened: https://github.com/PetarKirov/dlang.nix/pull/54

dukc commented 5 months ago

Fixed, thus closing.