On Friday, 4 November 2016 at 17:12:42 UTC, Andrei Alexandrescu wrote:
[...]
$ PATH=~/bin/ldc2-1.1.0-beta3-linux-x86/bin:$PATH
$ dub test --compiler=ldc2

[...]

BTW, you should try out the install script (from http://dlang.org/download):

curl -fsS https://dlang.org/install.sh | bash -s ldc-beta
source ~/dlang/ldc-1.1.0-beta3/activate

After the first time it's installed it's just

# To get the latest nightly (which as of today is 2016-11-04):
~/dlang/install.sh install dmd-nightly
source ~/dlang/dmd-master-2016-11-04/activate
dmd --version
DMD64 D Compiler v2.073.0-master-7637a2a

# To get a specific dmd version:
~/dlang/install.sh install dmd-2.071.0
source ~/dlang/dmd-2.071.0/activate
dmd --version
DMD64 D Compiler v2.071.0

# Etc... see install.sh --help for more info.

The script allows easy management of several D compiler installations and DUB.

Reply via email to