Skip to content
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

Make sure that build scripts use rerun-if-changed in a correct way #1042

Merged
merged 1 commit into from
Dec 20, 2024

Conversation

tomaszklak
Copy link
Contributor

@tomaszklak tomaszklak commented Dec 20, 2024

For lana, this script is self contained so it should explicitly depend only on itself. For toplevel, we don't need to check changes in crates and src if the bypass is in place.

After this change, subsequent invocations of run_local.py or build.sh, will not rebuild/relink anything if there are no changes.

☑️ Definition of Done checklist

  • Commit history is clean (requirements)
  • README.md is updated
  • Functionality is covered by unit or integration tests

@tomaszklak tomaszklak requested a review from a team as a code owner December 20, 2024 07:52
LukasPukenis
LukasPukenis previously approved these changes Dec 20, 2024
Copy link
Contributor

@LukasPukenis LukasPukenis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+2

For lana, this script is self contained so it should explicitly depend
only on itself. For toplevel, we don't need to check changes in crates
and src if the bypass is in place.
@tomaszklak tomaszklak force-pushed the tk-no-needless-rebuilds-in-nat-lab branch from 003ddbb to 4a4d8ca Compare December 20, 2024 09:25
@tomaszklak tomaszklak merged commit 1723061 into main Dec 20, 2024
64 checks passed
@tomaszklak tomaszklak deleted the tk-no-needless-rebuilds-in-nat-lab branch December 20, 2024 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants