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

[v0.22.0] fix(build): cyclic dependency in makefile #4263

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Aug 27, 2024

1. Explain what the PR does

02adacf fix(build): cyclic dependency in makefile

$(GOENV_MK) is a body level include, so using it as a prerequisite and
as a target dependency caused a cyclic dependency.

Use .eval_goenv rule (and placeholder file) to evaluate variables to be
stored in goenv.mk and use the placeholder as a prerequisite for the
targets that need the goenv.mk content.

commit: dd763f4 (main), cherry-pick

2. Explain how to test it

3. Other comments

$(GOENV_MK) is a body level include, so using it as a prerequisite and
as a target dependency caused a cyclic dependency.

Use .eval_goenv rule (and placeholder file) to evaluate variables to be
stored in goenv.mk and use the placeholder as a prerequisite for the
targets that need the goenv.mk content.

commit: dd763f4 (main), cherry-pick
@geyslan geyslan self-assigned this Aug 27, 2024
@geyslan geyslan requested a review from rscampos August 27, 2024 11:46
Copy link
Collaborator

@rscampos rscampos left a comment

Choose a reason for hiding this comment

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

LGTM

@geyslan geyslan merged commit a0e0265 into aquasecurity:v0.22.0 Aug 27, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants