You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently mark the make target for component compile as phony. This causes the component to be recompiled, regardless of whether that's necessary. By changing the target to a non-phony target we could leverage make's smart rebuilding for targets which need the compiled component (tests/golden diff/kubent/custom targets operating on the golden test outputs).
While this is not providing a big benefit for many components as we mainly use the targets based on .compile when making changes to the component implementation, there are some cases (e.g. rendering documentation from compiled manifests) where we save some time by reusing the compiled component manifests if no inputs have changed.
The original PR on the modulesync-control repo (projectsyn/modulesync-control#58) keeps the phony `.compile target, so that components which have custom make rules which depend on that target continue to work unchanged.
The text was updated successfully, but these errors were encountered:
Context
We currently mark the make target for
component compile
as phony. This causes the component to be recompiled, regardless of whether that's necessary. By changing the target to a non-phony target we could leverage make's smart rebuilding for targets which need the compiled component (tests/golden diff/kubent/custom targets operating on the golden test outputs).While this is not providing a big benefit for many components as we mainly use the targets based on
.compile
when making changes to the component implementation, there are some cases (e.g. rendering documentation from compiled manifests) where we save some time by reusing the compiled component manifests if no inputs have changed.The original PR on the modulesync-control repo (projectsyn/modulesync-control#58) keeps the phony `.compile target, so that components which have custom make rules which depend on that target continue to work unchanged.
The text was updated successfully, but these errors were encountered: