Skip to content

Commit cbbbfac

Browse files
committed
Add lowmem option and settings
1 parent c15c7a7 commit cbbbfac

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

views/package_format_json.dt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,10 @@ block body
583583
td "betterC"
584584
td Compile in betterC mode
585585
td -betterC
586+
tr
587+
td "lowmem"
588+
td Enable the garbage collector for the compiler(dmd/ldc), reducing the compiler memory requirements but increasing compile times.
589+
td -lowmem
586590

587591
h3#environment-variables Environment variables
588592
include inc.package_format.envvars

views/package_format_sdl.dt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,10 @@ block body
566566
td "betterC"
567567
td Compile in betterC mode
568568
td -betterC
569+
tr
570+
td "lowmem"
571+
td Enable the garbage collector for the compiler(dmd/ldc), reducing the compiler memory requirements but increasing compile times.
572+
td -lowmem
569573

570574
h3#environment-variables Environment variables
571575
include inc.package_format.envvars

views/settings.dt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,9 @@ block body
7575
tr
7676
td defaultArchitecture
7777
td: code string
78-
td Force a different architecture (e.g. x86 or x86_64)
78+
td Force a different architecture (e.g. x86 or x86_64)
79+
80+
tr
81+
td defaultLowMemory
82+
td: code bool
83+
td Enable the garbage collector for the compiler(dmd/ldc), reducing the compiler memory requirements but increasing compile times.

0 commit comments

Comments
 (0)