D, SCons, Dub

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 6 10:44:57 PDT 2017


On Tuesday, 18 April 2017 at 00:14:40 UTC, Andrei Alexandrescu 
wrote:
> On 4/17/17 6:58 PM, Atila Neves wrote:
>> On Monday, 17 April 2017 at 17:51:33 UTC, Russel Winder wrote:
>>> Just in case anyone gives a ####:
>>>
>>> I have submitted a pull request that adds ProgramAllAtOnce as 
>>> a builder in the dmd, ldc, and gdc tools of SCons. This does 
>>> an 'all at once' compilation in a single compiler 
>>> instantiation, unlike the standard module at a time 
>>> compilation and then link the program. There are lots of 
>>> arguments about whether "all at once" is at all useful, I 
>>> have added it simply because it is the only way Unit-Threaded 
>>> works.
>> 
>> It's the only way __traits(getUnitTests) works. Unfortunately. 
>> I'm just going to fix that dmd bug myself.
>
> Thanks!! -- Andrei

https://github.com/dlang/dmd/pull/6727

Getting it past the autotester was the hardest part of that 
odyssey!

Atila


More information about the Digitalmars-d mailing list