mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-08 05:53:22 +00:00
Change order of forwarded koch boot command line options, so as to be able to overwrite the nimcache location (#13637)
This commit is contained in:
8
koch.nim
8
koch.nim
@@ -316,10 +316,10 @@ proc boot(args: string) =
|
||||
# in order to use less memory, we split the build into two steps:
|
||||
# --compileOnly produces a $project.json file and does not run GCC/Clang.
|
||||
# jsonbuild then uses the $project.json file to build the Nim binary.
|
||||
exec "$# $# $# $# --nimcache:$# --compileOnly compiler" / "nim.nim" %
|
||||
[nimi, bootOptions, extraOption, args, smartNimcache]
|
||||
exec "$# jsonscript $# --nimcache:$# compiler" / "nim.nim" %
|
||||
[nimi, args, smartNimcache]
|
||||
exec "$# $# $# --nimcache:$# $# --compileOnly compiler" / "nim.nim" %
|
||||
[nimi, bootOptions, extraOption, smartNimcache, args]
|
||||
exec "$# jsonscript --nimcache:$# $# compiler" / "nim.nim" %
|
||||
[nimi, smartNimcache, args]
|
||||
|
||||
if sameFileContent(output, i.thVersion):
|
||||
copyExe(output, finalDest)
|
||||
|
||||
Reference in New Issue
Block a user