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.
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.
Adding
dnf update -y
is a good step to ensure all packages are up-to-date, which can resolve compatibility or compiler issues, as intended by this PR. However, this command can significantly increase build times, especially if run frequently (e.g., with--no-cache
builds).To improve maintainability and help future developers understand the necessity of this potentially time-consuming step, please consider adding a brief comment explaining its purpose. If this addresses a specific, known compiler issue, referencing it (e.g., a link to an issue tracker or a brief description) would be very valuable.
This will help justify the build time increase and prevent accidental removal if the context is lost.