koch: boot use hostOs&hostCpu specific nimcache
This commit is contained in:
parent
d7e312ee13
commit
29f97f8cb1
1 changed files with 2 additions and 1 deletions
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue