Timothee Cour
d0485e326a
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
2021-04-30 22:27:53 +02:00
Timothee Cour
a424075b5e
improve nimsuggest/tester, minor improvements to koch.nim ( #17879 )
...
* improve nimsuggest/tester
* koch improvements
2021-04-29 13:44:53 +02:00
Timothee Cour
dce0b3b002
refactor all code that builds csources ( #17815 )
...
* refactor all code that builds csources
* fixup
* nim_csourcesDir_v0 + nim_csourcesDir
* remove deprecated, unused scripts from ci/
* reuse nimCsourcesHash in ci
* simplify CI pipelines by reusing nimBuildCsourcesIfNeeded
* simplify ci_docs.yml by reusing nimBuildCsourcesIfNeeded
* cleanup
* use csources_v1 as destination dir
* fixup
* remove pushCsources
* address comment: remove build.sh support for now
* fixup
2021-04-23 11:28:42 +02:00
Timothee Cour
42c6eec4ef
fix #17749 ignore SIGPIPE signals, fix nim CI #17748 ( #17752 )
...
* fix #17749 SIGPIPE
* fix for windows
2021-04-18 15:34:29 +02:00
Andreas Rumpf
957478ce26
removed nimfind tool, succeeded by 'nim check --defusages' ( #17737 )
2021-04-16 15:23:17 +02:00
Andreas Rumpf
4780b08b9d
IC: integrity checking ( #17695 )
...
* IC: integrity checking: the plumbing code
* progress
* progress + bugfix (yes, the code already found a bug)
* implemented integrity checking
2021-04-11 17:37:32 +02:00
Andreas Rumpf
ab57e7f244
added a simple 'koch branchdone' command to speed up my workflow ( #17563 )
2021-03-29 12:42:34 +02:00
Andreas Rumpf
e3e9742143
added a 'koch ic' command for easier adhoc testing of IC ( #17508 )
...
* added a 'koch ic' command for easier adhoc testing of IC
* IC: progress
* IC: enable generics test
* make tests green
2021-03-26 08:52:26 +01:00
Clyybber
da83b992ed
Let koch temp -u:leanCompiler work ( #17388 )
2021-03-15 21:40:40 +01:00
Timothee Cour
c6f9c38892
use NIM_TESTAMENT_BATCH for important_packages, improve formatting, code cleanups ( #17301 )
...
* use NIM_TESTAMENT_BATCH for important_packages, improve formatting, code cleanups
* workaround for nimcrypto not having `--path:.`; remove workaround "two are special snowflakes"
* add comment explaining why nimcrypto fails and what packages need to be testable
2021-03-12 15:45:51 +01:00
flywind
0e3ea16554
use lowercase --define switches ( #17283 )
2021-03-07 12:08:41 +01:00
Timothee Cour
5d95137ce0
remove tests/deps/ ( #17132 )
...
* remove tests/deps/
* fix tests
* fix tests/manyloc/keineschweine/lib/zlib_helpers.nim
* fixup
2021-02-23 13:31:53 +01:00
Miran
da52e81327
[backport:1.2] update nimble commit hash ( #17109 )
2021-02-19 20:33:01 +01:00
Timothee Cour
31bb67a309
add -d:nimStrictMode in CI to keep code from regressing; fixes ConvFromXtoItselfNotNeeded, UnusedImport notes ( #16764 )
2021-02-17 19:30:09 +01:00
Andreas Rumpf
8630ebbbfc
koch.nim: documented the bootstrapping process ( #17008 )
2021-02-11 09:26:51 +01:00
Timothee Cour
b7dd8e7dff
unbundle fusion ( #16925 )
...
* unbundle fusion
* changelog
* address comment: `./koch fusion` calls nimble install fusion (at a fixed hash)
2021-02-11 07:24:53 +01:00
Miran
0d34345f29
[backport:1.2] update the nimble commit hash to the latest one ( #16971 )
2021-02-09 19:02:07 +01:00
Timothee Cour
6f1289b80c
remove .github/workflows/ci_ssl.yml; instead run via trunner_thirdparty ( #16221 )
2021-02-02 18:32:33 -08:00
haxscramper
cbf227d949
[FIX] Update fusion master commit hash ( #16630 )
2021-01-07 19:14:50 +01:00
rockcavera
9ac2ee7b8d
Fix #11506 ( #16348 )
...
fixes the problem of compiling vccexe.exe when it is in use.
2020-12-14 11:07:55 +01:00
Miran
d0c4c738b9
add a tester for rst2html ( #15936 )
2020-11-12 22:25:23 +01:00
Miran
bbe49a14ae
Correct all eggs ( #15906 )
...
* "eg" is a misspelled "egg", "e.g." is "exempli gratia"
* Also, "ie" is "i.e.".
2020-11-10 21:53:25 +01:00
Clyybber
0f4b1ed270
Fix #15639 ( #15640 )
2020-10-19 22:39:50 +02:00
genotrance
a4c28394be
Bump nimble ( #15573 )
2020-10-14 22:26:44 +02:00
genotrance
442841037a
Fix #12027 ( #15519 )
2020-10-10 07:04:57 +02:00
genotrance
0a560144ce
Bump nimble ( #15539 )
2020-10-10 07:04:03 +02:00
alaviss
7ef22bf912
koch: remove c2nim from windows release builds ( #15471 )
...
We don't ship this tool with any other OS, and the c2nim bundle is
non-deterministic due to the lack of a pinned commit.
2020-10-02 19:18:44 +02:00
alaviss
3919f0aa54
koch: unify nimble building scripts [backport:1.4] ( #15443 )
...
This commit gets rid of buildNimble in favor of the simpler
bundleNimbleExe, which does pretty much the same thing.
2020-10-01 17:20:38 +02:00
alaviss
d4892e9388
koch, compiler: bundle fusion as part of the source archive ( #15409 )
...
This allows distributions to build Nim from the downloaded source
archive without an Internet connection.
2020-09-26 09:31:55 +02:00
genotrance
7a6f4eca19
Bump nimble ( #15398 )
2020-09-24 08:07:32 +02:00
Araq
94c8d53a03
'koch temp' bugfix
2020-09-23 10:41:33 +02:00
genotrance
8f511fd0e6
Bump nimble ( #15380 )
2020-09-21 11:48:00 -05:00
genotrance
f1f694dccb
Bump nimble ( #15304 )
2020-09-11 11:57:54 -05:00
genotrance
072c655653
Bump nimble ( #15272 )
2020-09-06 07:05:35 +02:00
genotrance
f1971243d3
Bump nimble ( #15126 )
2020-07-30 13:13:34 -05:00
genotrance
0788a7f970
Bump nimble ( #15114 )
2020-07-29 15:42:08 -05:00
narimiran
a2f330569c
yet another fusion fix
2020-07-28 10:57:24 +02:00
narimiran
75083979f9
another bump
2020-07-28 09:27:00 +02:00
narimiran
d6a0c35330
bump FusionStableCommit to the latest commit
2020-07-28 08:51:10 +02:00
genotrance
c229df95a4
Bump nimble ( #15077 )
2020-07-26 08:44:14 +02:00
alaviss
33c2d7bfc4
koch: bundle nim-lang/fusion with Nim ( #15061 )
...
Initial work on bundling nim-lang/fusion as part of the Nim distribution.
2020-07-25 22:52:18 +02:00
genotrance
8211d38569
Bump nimble commit ( #15053 )
2020-07-25 01:16:25 -05:00
alaviss
9a76398ec6
koch: use in-tree Nim to run test if possible ( #15018 )
...
Fixes #15013
2020-07-20 08:02:48 +02:00
Timothee Cour
dc5a40f3f3
{.deprecated: [existsFile: fileExists].} ( #14735 )
...
* {.deprecated: [existsFile: fileExists].}
* s/existsFile/fileExists/ except under deps
* workaround pending #14819
* fix test
2020-07-02 16:19:13 +02:00
Timothee Cour
90808877c5
testament: generic N-fold batching: windows CI 37mn=>16m ( #14823 )
...
* testament: run CI faster thanks to batching
* move ta_in, tstdin into existing tosproc
* move ta_out,tafalse,texitcode,tstderr into existing tosproc
* joinable osproc
* move tstdout into existing tosproc
* spec: batchable; fix tests
* fixup
2020-06-27 16:51:17 +02:00
alaviss
1a0725f022
koch: add --localdocs to allow building only local docs ( #14783 )
...
* koch: add --localdocs to allow building only local docs
This flag also make koch doc use the passed arguments when building
the offline docs.
This is useful when generating nightlies as we would want to use
--doccmd:skip and also skipping a pass of docgen speed things up
drastically (for non-native targets).
This flag superseded the undocumented --docslocal.
* kochdocs: filter google analytics code from the arg list instead
This commit introduce a small PEG expression to filter out the google
analytics code before building local docs when --localdocs is not
specified. This lets us keep any arguments unrelated to google analytics
when building local docs, useful for use with --doccmd:skip
2020-06-25 10:28:57 +02:00
Timothee Cour
3cf88c2b49
walkDirRecFilter, update doc CI filter, compiler/index.nim for docs + various other fixes ( #14501 )
...
* update doc CI filter to include the files mostly likely to require doc rebuild
* remove code duplication in ./config/nimdoc.cfg; show link to compiler docs, various fixes
* walkDirRecFilter, factor nativeToUnixPath workaround
* glob for getRst2html
* docslocal: 40s to build all docs
* revert code dedup in github actions which did not work alas...
* fixups
2020-06-01 19:21:41 +02:00
Andreas Rumpf
16003bffe1
fixes #14126 [backport:1.2] ( #14390 )
...
* fixes #14126 [backport:1.2]
* used more logic to optimize it further; updated Nimble version
2020-05-20 00:41:57 +02:00
Timothee Cour
e909486e5c
trunner was not actually being tested in non-CTFFI mode; minor testament cleanups ( #14377 )
...
* use check
* trunner now works with cpp
* cleanup: move compiler/unittest_light => stdtest/unittest_light
* fix tests/readme.md
* remove deadcode references to rodfiles
* fix for windows
2020-05-19 09:41:31 +02:00
Timothee Cour
b8ec07f19e
properly fixes #13758 so that import std/macros stays legal ( #14291 )
...
* properly fix https://github.com/nim-lang/Nim/issues/12389
* use --lib:lib in koch.nim.cfg instead
* third time is the charm
2020-05-12 08:27:47 +02:00