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:
parent
60a3e036f6
commit
f0cd50f9c4
1 changed files with 4 additions and 4 deletions
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:
|
# 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.
|
# --compileOnly produces a $project.json file and does not run GCC/Clang.
|
||||||
# jsonbuild then uses the $project.json file to build the Nim binary.
|
# jsonbuild then uses the $project.json file to build the Nim binary.
|
||||||
exec "$# $# $# $# --nimcache:$# --compileOnly compiler" / "nim.nim" %
|
exec "$# $# $# --nimcache:$# $# --compileOnly compiler" / "nim.nim" %
|
||||||
[nimi, bootOptions, extraOption, args, smartNimcache]
|
[nimi, bootOptions, extraOption, smartNimcache, args]
|
||||||
exec "$# jsonscript $# --nimcache:$# compiler" / "nim.nim" %
|
exec "$# jsonscript --nimcache:$# $# compiler" / "nim.nim" %
|
||||||
[nimi, args, smartNimcache]
|
[nimi, smartNimcache, args]
|
||||||
|
|
||||||
if sameFileContent(output, i.thVersion):
|
if sameFileContent(output, i.thVersion):
|
||||||
copyExe(output, finalDest)
|
copyExe(output, finalDest)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue