Repository navigation
nifmake: add --keepgoing option - #2955
Merged
Merged
Conversation
Member
|
Name it |
--keep-going option--keepgoing option
planetis-m
added a commit
to planetis-m/nimony
that referenced
this pull request
Nov 12, 2026
Brings in nim-lang#2960, nim-lang#2974, nim-lang#2976, nim-lang#2969, nim-lang#2955 and nim-lang#2967 so the branch is tested against what it merges into. No conflicts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
-k/--keepgoingtonifmake run. When a command fails, nifmake keeps building everything that doesn't depend on it, instead of stopping at the first failure. The commands that depend on the failed one are skipped, and the run still exits non-zero.Without the flag, behavior is unchanged.
failednow also flushes stdout; thenifmake: command failedline would otherwise stay buffered while later jobs write their output.tests/nifmake/setup.nimadds akeepgoingscenario and anafterjob that depends only on the job still running when the other one fails:--keepgoing,afterruns (total=3) and the failed job's dependent doesn't;afterisn't launched (total=2), which also covers the existing stop-after-failure behavior.Needed by nimsuggest2 so an unknown file/root that fails to compile does not break the rest of roots.