-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force regenerate build.ninja
#6877
Conversation
@cknitt you can test it? |
Thanks a lot! Will test today. |
Tested and works fine for me! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you do the PR against master?
(I will later backport it to 11.0-release together with other fixes.)
da88460
to
164dea2
Compare
Base now is |
Thanks a lot! I was asking myself if we should further improve this to keep the existing optimization as far as possible (only regenerate build.ninja when needed). Then we would have to remember what Right now it is regenerated on every build, so this means if I run |
Yes!! I believe there is an effect on performance. It will run this on every build Another option is to force a cleanup after using |
@aspeddro Could you investigate how hard it is to do this? |
I saved the information in
When you build with
So:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work @aspeddro!
* force regenerate build.ninja * fix bin path * Update CHANGELOG.md * force regenerate when `warn-error` argument change * restore `-regen` argument * regenerate if previous warn error != 0 # Conflicts: # CHANGELOG.md
* force regenerate build.ninja * fix bin path * Update CHANGELOG.md * force regenerate when `warn-error` argument change * restore `-regen` argument * regenerate if previous warn error != 0 # Conflicts: # CHANGELOG.md
* force regenerate build.ninja * fix bin path * Update CHANGELOG.md * force regenerate when `warn-error` argument change * restore `-regen` argument * regenerate if previous warn error != 0 # Conflicts: # CHANGELOG.md
Tested at https://github.com/aspeddro/rescript-test-build-warn-error/actions/runs/9925284243/job/27417532450
npm-packages.zip
downloaded hereClose #6868