dmd out of memory compiling vibed project

Andre Pany andre at s-e-a-p.de
Thu May 23 12:13:04 UTC 2019


On Thursday, 23 May 2019 at 11:06:43 UTC, Guillaume wrote:
> On Thursday, 23 May 2019 at 01:17:26 UTC, Nicholas Wilson wrote:
>> On Thursday, 23 May 2019 at 00:26:03 UTC, Guillaume wrote:
>>> I don't know how to add a "-lowmem" switch to those 
>>> compiler... but I suspect it would not change anything.
>>
>> If you're using a dub.sdl:
>>
>> dflags "-lowmem"
>>
>> dub.json:
>>
>> {
>>    ...
>>     "dflags" : ["-lowmem"]
>> }
>>
>> The compiler directly:
>>
>> dmd -lowmem [rest of args...]
>>
>> See dflags under Build settings in 
>> https://dub.pm/package-format-sdl 
>> https://dub.pm/package-format-json.html
>
> Still no luck.
>
> Anybody has a decent build system as easy as dub but that 
> doesn't recompile everything? Or everybody rolls their own?
>
> Guillaume

Dub allows you to create sub packages within you dub package.
This might solve the recompile issue for you.

Kind regards
André


More information about the Digitalmars-d mailing list