Make unique nimcache folders to speed up compilation

This commit is contained in:
Joey Yakimowich-Payne 2018-07-02 21:25:27 +09:00
commit a6ad749b38

View file

@ -108,7 +108,7 @@ proc buildElf(buildInfo: BuildInfo): string =
result = buildInfo.outDir/buildInfo.name & ".elf"
var args = " --out=" & quoteShell(result)
args &= " --nimcache=nimcache"
args &= " --nimcache=nimcache_" & $buildInfo.name
if buildInfo.release:
args &= " -d:release"
if buildInfo.force: