summary refs log tree commit diff stats
path: root/koch.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-04-30 13:27:53 -0700
committerGitHub <noreply@github.com>2021-04-30 22:27:53 +0200
commitd0485e326ab56af367246227dedc088839678b6b (patch)
tree3597396dad97e3f9ea8bfc971beec8258369e9ab /koch.nim
parentd32ab61e61a9c8875cda926fb76e12dc8e8b9a23 (diff)
downloadNim-d0485e326ab56af367246227dedc088839678b6b.tar.gz
bring back std/ prefix within compiler and ensure it works in bootstrap + bsd (#17902)
* [WIP] bring back std/ prefix within compiler and ensure it works in bootstrap + bsd

* refs https://github.com/nim-lang/Nim/pull/16282#discussion_r616846863
* sounds very similar to https://github.com/nim-lang/Nim/pull/14291
* more: vmops
* update tools/ci_generate.nim
* auto-generate freebsd.yml as well, to avoid duplication with openbsd.yml
* cleanup
* undo temporary CI removal
Diffstat (limited to 'koch.nim')
-rw-r--r--koch.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim
index 12f9e1c14..15355ec36 100644
--- a/koch.nim
+++ b/koch.nim
@@ -534,7 +534,9 @@ proc runCI(cmd: string) =
   echo "runCI: ", cmd
   echo hostInfo()
   # boot without -d:nimHasLibFFI to make sure this still works
-  kochExecFold("Boot in release mode", "boot -d:release -d:nimStrictMode")
+  # `--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 -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")