Compiler benchmarker for D, C, C++, Go, Rust with more to come
Atila Neves
atila.neves at gmail.com
Tue Mar 19 12:47:34 UTC 2019
On Tuesday, 19 March 2019 at 10:10:28 UTC, Seb wrote:
> On Monday, 18 March 2019 at 21:34:40 UTC, Per Nordlöw wrote:
>> On Monday, 18 March 2019 at 12:33:12 UTC, Seb wrote:
>>> [1] https://github.com/dlang/installer
>>
>> Does this include a script for building dmd with ldc or this
>> not yet possible?
>
> Well, you don't really need a script:
>
> git clone https://github.com/dlang/dmd
> HOST_DMD=ldmd2 make -f posix.mak -j10
HOST_DMD=ldmd2 make -f posix.mak -j`nproc`
FTFY. It's bad enough make is a dinosaur that defaults to one
thread, let's not hard-code the number of cores.
> Additionally, you can add `ENABLE_RELEASE=1` to create a fully
> optimized release binary.
Awesome.
> BTW, the Arch DMD package [1] is the only package that I know
> of which is actually using LDC to compile DMD for the released
> binaries.
Huh, I didn't know that. Yay Arch! And yet, compilation times are
still my mortal enemy...
More information about the Digitalmars-d-announce
mailing list