diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-02-21 15:58:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 08:58:45 +0100 |
commit | ffd6bc87495ede82f9a8086d38c3348a40b11672 (patch) | |
tree | 4c0a5c96e90694ac8e2d9ad26c12f5a0d12b2e8f /koch.nim | |
parent | f7bd2088aa5fe970902d4cafc94933354fdec8a7 (diff) | |
download | Nim-ffd6bc87495ede82f9a8086d38c3348a40b11672.tar.gz |
csources_v2 can build the ORC-booted compiler; building now uses strict mode (#21411)
* csources_v2 can build the ORC-booted compiler; building now uses strict mode * test booting in refc
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/koch.nim b/koch.nim index fa498e017..52378e43f 100644 --- a/koch.nim +++ b/koch.nim @@ -530,8 +530,7 @@ proc runCI(cmd: string) = # boot without -d:nimHasLibFFI to make sure this still works # `--lib:lib` is needed for bootstrap on openbsd, for reasons described in # https://github.com/nim-lang/Nim/pull/14291 (`getAppFilename` bugsfor older nim on openbsd). - kochExecFold("Boot in release mode", "boot -d:release --gc:refc -d:nimStrictMode --lib:lib") - kochExecFold("Boot Nim ORC", "boot -d:release --lib:lib") + kochExecFold("Boot Nim ORC", "boot -d:release -d:nimStrictMode --lib:lib") when false: # debugging: when you need to run only 1 test in CI, use something like this: execFold("debugging test", "nim r tests/stdlib/tosproc.nim") @@ -587,6 +586,9 @@ proc runCI(cmd: string) = execFold("Run atlas tests", "nim c -r -d:atlasTests tools/atlas/atlas.nim clone https://github.com/disruptek/balls") + kochExecFold("Testing booting in refc", "boot -d:release --mm:refc -d:nimStrictMode --lib:lib") + + proc testUnixInstall(cmdLineRest: string) = csource("-d:danger" & cmdLineRest) xz(false, cmdLineRest) |