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

fix(build): cyclic dependency in makefile #4262

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

geyslan
Copy link
Member

@geyslan geyslan commented Aug 26, 2024

1. Explain what the PR does

a17f7ef 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.

2. Explain how to test it

3. Other comments

@geyslan geyslan self-assigned this Aug 26, 2024
@geyslan geyslan force-pushed the makefile-fix branch 2 times, most recently from 4cdeb4c to b422156 Compare August 26, 2024 21:08
@geyslan geyslan changed the title fix(build): rule dependencies fix(build): cyclic dependency in makefile Aug 26, 2024
@geyslan geyslan requested a review from rscampos August 26, 2024 21:15
@geyslan geyslan marked this pull request as ready for review August 26, 2024 21:17
$(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.
@geyslan geyslan merged commit dd763f4 into aquasecurity:main Aug 27, 2024
25 checks passed
geyslan added a commit to geyslan/tracee that referenced this pull request Aug 27, 2024
geyslan added a commit that referenced this pull request Aug 27, 2024
rscampos pushed a commit to rscampos/tracee that referenced this pull request Aug 27, 2024
rscampos pushed a commit that referenced this pull request Aug 27, 2024
commit: bf701bd (main), cherry-pick
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.

1 participant