Skip to content

Commit bc5361c

Browse files
Merge pull request #25 from shoo/add_lowmem
Add lowmem option and settings
2 parents f233733 + cbbbfac commit bc5361c

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
@@ -593,6 +593,10 @@ block body
593593
td "betterC"
594594
td Compile in betterC mode
595595
td -betterC
596+
tr
597+
td "lowmem"
598+
td Enable the garbage collector for the compiler(dmd/ldc), reducing the compiler memory requirements but increasing compile times.
599+
td -lowmem
596600

597601
h3#environment-variables Environment variables
598602
include inc.package_format.envvars

views/package_format_sdl.dt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,10 @@ block body
576576
td "betterC"
577577
td Compile in betterC mode
578578
td -betterC
579+
tr
580+
td "lowmem"
581+
td Enable the garbage collector for the compiler(dmd/ldc), reducing the compiler memory requirements but increasing compile times.
582+
td -lowmem
579583

580584
h3#environment-variables Environment variables
581585
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)