[bug #66915] Avoid rebuilding existing order-only prerequisites.

Dmitry Goncharov <[email protected]>
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
Follow-up Comment #1, bug #66915 (group make):

Suggested by Britton Kerin here
https://lists.gnu.org/archive/html/bug-make/2025-03/msg00006.html.
This is an excerpt from that email.
"What confuses me is that since the explicitly requested foo exists and isn't
out of date with respect to any non-order-only prereqs (in the example it
doesn't have any) and therefore isn't getting rebuilt, I wouldn't expect there
to be any need to rebuild it's order-only prereqs either.  I would think
"order-only" would only impose an order constraint on the execution of the
recipes, and since foo's recipe isn't happening why should bar's need to?
There's no order violation if it doesn't, and in fact it's a bit of a misuse
of the term "order" to describe the current behavior since (in the example)
only one recipe is executing.  Make is building slightly too much here which
is contrary to its purpose."


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66915>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCZ9Vx1QAKCRCqLAuaBUf3
Thm6AQDk9rVhbI8xbnrTX+OJnqFQl053Mhy4/XXsOhVGCmY3PwD9Hl3u5d1wUVte
e5EypUcWwoVlNjCtTEzha8CHyRRnWA4=
=PTCZ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.