Skip to content

Prevent hyperlight_guest from always rebuilding even with no new updates #507

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

Merged
merged 1 commit into from
May 19, 2025

Conversation

ludfjig
Copy link
Contributor

@ludfjig ludfjig commented May 19, 2025

This incorrect statment (leftover by accident from #499) caused hyperlight-guest to always be recompiled, even with no new changes (SLOW!). This made commands such as just rg and just guests always rebuild hyperlight-guest (sometimes several times over).

Dirty hyperlight-guest v0.4.0 (/home/ludde/hyperlight-new/src/hyperlight_guest): the file `/home/ludde/hyperlight-new/src/hyperlight_guest/include` is missing
...
Dirty simpleguest v0.4.0 (/home/ludde/hyperlight-new/src/tests/rust_guests/simpleguest): the dependency hyperlight_guest was rebuilt

Closes #508

Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
@ludfjig ludfjig added kind/bugfix For PRs that fix bugs area/infrastructure Concerns infrastructure rather than core functionality labels May 19, 2025
@ludfjig ludfjig merged commit a95a0f5 into hyperlight-dev:main May 19, 2025
28 of 29 checks passed
Copilot AI pushed a commit that referenced this pull request May 20, 2025
…tes (#507)

Signed-off-by: Ludvig Liljenberg <4257730+ludfjig@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/infrastructure Concerns infrastructure rather than core functionality kind/bugfix For PRs that fix bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hyperlight-guest library is rebuilt unconditionally
2 participants