mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-02 03:02:31 +00:00
koch: boot use hostOs&hostCpu specific nimcache
This commit is contained in:
3
koch.nim
3
koch.nim
@@ -323,7 +323,8 @@ proc boot(args: string) =
|
||||
var finalDest = "bin" / "nim".exe
|
||||
# default to use the 'c' command:
|
||||
let bootOptions = if args.len == 0 or args.startsWith("-"): "c" else: ""
|
||||
let smartNimcache = if "release" in args: "nimcache/release" else: "nimcache/debug"
|
||||
let smartNimcache = (if "release" in args: "nimcache/r_" else: "nimcache/d_") &
|
||||
hostOs & "_" & hostCpu
|
||||
|
||||
copyExe(findStartNim(), 0.thVersion)
|
||||
for i in 0..2:
|
||||
|
||||
Reference in New Issue
Block a user