continue booting the compiler with refc (#20421)
* continue boot the compiler with refc * koch * use `gc:refc`
This commit is contained in:
parent
37ca97dd76
commit
30bd75e459
3 changed files with 3 additions and 2 deletions
2
.github/workflows/ci_docs.yml
vendored
2
.github/workflows/ci_docs.yml
vendored
|
|
@ -100,7 +100,7 @@ jobs:
|
||||||
|
|
||||||
- name: 'Build the real compiler'
|
- name: 'Build the real compiler'
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./koch boot -d:release --gc:refc
|
run: ./koch boot -d:release
|
||||||
|
|
||||||
- name: 'Build documentation'
|
- name: 'Build documentation'
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ define:booting
|
||||||
define:nimcore
|
define:nimcore
|
||||||
define:nimPreviewFloatRoundtrip
|
define:nimPreviewFloatRoundtrip
|
||||||
define:nimPreviewSlimSystem
|
define:nimPreviewSlimSystem
|
||||||
|
gc:refc
|
||||||
|
|
||||||
#import:"$projectpath/testability"
|
#import:"$projectpath/testability"
|
||||||
|
|
||||||
|
|
|
||||||
2
koch.nim
2
koch.nim
|
|
@ -548,7 +548,7 @@ proc runCI(cmd: string) =
|
||||||
# boot without -d:nimHasLibFFI to make sure this still works
|
# boot without -d:nimHasLibFFI to make sure this still works
|
||||||
# `--lib:lib` is needed for bootstrap on openbsd, for reasons described in
|
# `--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).
|
# 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 in release mode", "boot -d:release -d:nimStrictMode --lib:lib")
|
||||||
|
|
||||||
when false: # debugging: when you need to run only 1 test in CI, use something like this:
|
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")
|
execFold("debugging test", "nim r tests/stdlib/tosproc.nim")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue