Skip to content

Maintenance: Remove shared LDADD#2058

Closed
yadij wants to merge 4 commits into
squid-cache:masterfrom
yadij:rm-LDADD
Closed

Maintenance: Remove shared LDADD#2058
yadij wants to merge 4 commits into
squid-cache:masterfrom
yadij:rm-LDADD

Conversation

@yadij

@yadij yadij commented May 3, 2025

Copy link
Copy Markdown
Contributor

Most built binaries have a distinct set of dependencies and already have
their own foo_LDADD variables. Add a few variables to cover the
remaining binaries and stop setting an (incomplete) LDADD global.

Also removed unnecessary EXTRA_PROGRAMS because mem_node_test and splay
binaries are built unconditionally.

yadij and others added 2 commits May 4, 2025 01:09
Binaries in Squid each have a distinct set of dependencies and thus
their own foo_LDADD variables. Stop setting an (incomplete) LDADD
for shared use in Makefile.am.

@rousskov rousskov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I have adjusted PR description a little to be in sync with PR changes that set (the same) foo_LDADD dependencies for a few binaries (e.g., syntheticoperators and VirtualDeleteOperator). The original description implied that such binaries did not exist; they do exist, but they are an exception that does not justify LDADD global existence.

I also tried to disclose and explain a seemingly out-of-scope change -- EXTRA_PROGRAMS removal.

I am not clearing this PR for merging to give @yadij a chance to validate my description adjustments.

@rousskov rousskov added the S-waiting-for-author author action is expected (and usually required) label May 6, 2025
squid-anubis pushed a commit that referenced this pull request May 6, 2025
Most built binaries have a distinct set of dependencies and already have
their own foo_LDADD variables. Add a few variables to cover the
remaining binaries and stop setting an (incomplete) LDADD global.

Also removed unnecessary EXTRA_PROGRAMS because mem_node_test and splay
binaries are built unconditionally.
@squid-anubis squid-anubis added M-waiting-staging-checks https://github.com/measurement-factory/anubis#pull-request-labels M-failed-staging-checks https://github.com/measurement-factory/anubis#pull-request-labels and removed M-waiting-staging-checks https://github.com/measurement-factory/anubis#pull-request-labels labels May 6, 2025
@rousskov

rousskov commented May 6, 2025

Copy link
Copy Markdown
Contributor

squid-anubis added M-failed-staging-checks

Config file: openbsd-7.7.conf
  quirks-7.103 signed on 2025-05-06T14:17:42Z
  Can't find automake-1.16.5
  Couldn't install automake-1.16.5

@kinkie, can you help address the above OpenBSD test failure? AFAICT, Anubis will not merge PRs until that problem is gone.

@yadij yadij added M-cleared-for-merge https://github.com/measurement-factory/anubis#pull-request-labels and removed S-waiting-for-author author action is expected (and usually required) labels May 6, 2025
@kinkie kinkie mentioned this pull request May 6, 2025
@kinkie

kinkie commented May 6, 2025

Copy link
Copy Markdown
Contributor

squid-anubis added M-failed-staging-checks

Config file: openbsd-7.7.conf
  quirks-7.103 signed on 2025-05-06T14:17:42Z
  Can't find automake-1.16.5
  Couldn't install automake-1.16.5

@kinkie, can you help address the above OpenBSD test failure? AFAICT, Anubis will not merge PRs until that problem is gone.

PR #2059 should fix it

@rousskov rousskov added the S-waiting-for-PR Closure of other PR(s), current or future, is expected (and usually required) label May 6, 2025
@squid-anubis squid-anubis added M-failed-other https://github.com/measurement-factory/anubis#pull-request-labels and removed M-failed-other https://github.com/measurement-factory/anubis#pull-request-labels labels May 8, 2025
@kinkie kinkie added backport-to-v7 maintainer has approved these changes for v7 backporting and removed M-failed-staging-checks https://github.com/measurement-factory/anubis#pull-request-labels labels May 11, 2025
squid-anubis pushed a commit that referenced this pull request May 11, 2025
Most built binaries have a distinct set of dependencies and already have
their own foo_LDADD variables. Add a few variables to cover the
remaining binaries and stop setting an (incomplete) LDADD global.

Also removed unnecessary EXTRA_PROGRAMS because mem_node_test and splay
binaries are built unconditionally.
@squid-anubis squid-anubis added the M-waiting-staging-checks https://github.com/measurement-factory/anubis#pull-request-labels label May 11, 2025
@squid-anubis squid-anubis added M-abandoned-staging-checks https://github.com/measurement-factory/anubis#pull-request-labels and removed M-waiting-staging-checks https://github.com/measurement-factory/anubis#pull-request-labels M-abandoned-staging-checks https://github.com/measurement-factory/anubis#pull-request-labels labels May 11, 2025
@rousskov rousskov removed the S-waiting-for-PR Closure of other PR(s), current or future, is expected (and usually required) label May 11, 2025
squid-anubis pushed a commit that referenced this pull request May 18, 2025
Most built binaries have a distinct set of dependencies and already have
their own foo_LDADD variables. Add a few variables to cover the
remaining binaries and stop setting an (incomplete) LDADD global.

Also removed unnecessary EXTRA_PROGRAMS because mem_node_test and splay
binaries are built unconditionally.
@squid-anubis squid-anubis added the M-waiting-staging-checks https://github.com/measurement-factory/anubis#pull-request-labels label May 18, 2025
@squid-anubis squid-anubis removed the M-waiting-staging-checks https://github.com/measurement-factory/anubis#pull-request-labels label May 18, 2025
@squid-anubis squid-anubis added M-merged https://github.com/measurement-factory/anubis#pull-request-labels and removed M-cleared-for-merge https://github.com/measurement-factory/anubis#pull-request-labels labels May 18, 2025
squidadm pushed a commit to squidadm/squid that referenced this pull request May 18, 2025
Most built binaries have a distinct set of dependencies and already have
their own foo_LDADD variables. Add a few variables to cover the
remaining binaries and stop setting an (incomplete) LDADD global.

Also removed unnecessary EXTRA_PROGRAMS because mem_node_test and splay
binaries are built unconditionally.
@squidadm squidadm removed the backport-to-v7 maintainer has approved these changes for v7 backporting label May 18, 2025
@squidadm

Copy link
Copy Markdown
Collaborator

queued for backport to v7

yadij added a commit that referenced this pull request May 19, 2025
Most built binaries have a distinct set of dependencies and already have
their own foo_LDADD variables. Add a few variables to cover the
remaining binaries and stop setting an (incomplete) LDADD global.

Also removed unnecessary EXTRA_PROGRAMS because mem_node_test and splay
binaries are built unconditionally.
@yadij yadij deleted the rm-LDADD branch June 28, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

M-merged https://github.com/measurement-factory/anubis#pull-request-labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants