Skip to content

Complete quiet and fast make -j N all support avoiding rebuilds of nut_version.h and libupsclient-version.h within the single run#3336

Merged
jimklimov merged 3 commits intonetworkupstools:masterfrom
jimklimov:issue-3039
Mar 4, 2026
Merged

Conversation

@jimklimov
Copy link
Member

Note that depending on configure --enable-force-nut-version (default) we may still rebuild the header and its dependencies when (Git) sources change. Here we just want to avoid re-evaluating the file contents (and logging about that) when a single parallel make -j N all session is running, and the file is referenced via multiple dependency paths (and due to forcing, the goal must be resolved each time).

Follows up from:

…nd added to along the way

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…generated.timestamp touch-file to quickly skip nut_version.h regeneration even if we configure --enable-force-nut-version (default) [networkupstools#3039, networkupstools#3223]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…me we evaluate libupsclient.la rule [networkupstools#3039, networkupstools#3223, networkupstools#1484]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov added this to the 2.8.5 milestone Mar 3, 2026
@jimklimov jimklimov added enhancement CI Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes) portability We want NUT to build and run everywhere possible labels Mar 3, 2026
@AppVeyorBot
Copy link

@jimklimov jimklimov merged commit e3079c6 into networkupstools:master Mar 4, 2026
66 of 67 checks passed
@jimklimov jimklimov deleted the issue-3039 branch March 4, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes) enhancement portability We want NUT to build and run everywhere possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants