Skip to content

Conversation

@L-series
Copy link

@L-series L-series commented Oct 29, 2025

This PR adds the functionality in which buils will now also be retriggered by changes to environment vairables.

Changes

  • Capture environment/command-line variable values before setting defaults
  • Restore captured values after loading cached config

Why:
Previously VAR=VAL make wouldn't trigger rebuild, but make VAR=VAL would. Now both are properly detected."

rf.: #1150

@L-series L-series requested a review from a team as a code owner October 29, 2025 17:26
Previously, only values variables passed as Makefile variables
(make VAR=value) triggered rebuilds when changed. Now environment variables
(VAR=value make) are also tracked.

rf.: pq-code-package#1150

Signed-off-by: Andreas Hatziiliou <[email protected]>
@hanno-becker
Copy link
Contributor

hanno-becker commented Oct 30, 2025

@L-series Thank you for this PR!

We currently only accept contributions from people we know. Would you mind reaching out to us on Discord or via e-mail for an introduction?

@L-series
Copy link
Author

Of course! I just sent you a message on discord. @hanno-becker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants