This is a description of a reproducable build environment for ldc and ldc calypso
Nix is required to produce the build environment and works on many operating systems.
While awesome Nix is still niche and a bit complex to start with but the part I like is that while it can be hard to write its pretty easy to ready and maintain Nix expressions.
To execute a repoducable build run:
$ nix-build ldc-calypso.nix
To test it you can then use the resulting build.
$ ./result/bin/ldc2 --help
I intend to try and merge this upstream into nixpkgs
I was unable to build ldc in any form without gcc6 (6.1.0)