bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63650] Performance regression with EXPORT_ALL_VARIABLES enabled


From: Paul D. Smith
Subject: [bug #63650] Performance regression with EXPORT_ALL_VARIABLES enabled
Date: Fri, 13 Jan 2023 13:40:26 -0500 (EST)

Follow-up Comment #6, bug #63650 (project make):

I guess we might be saved by a weird behavior of GNU Make that I've long
considered changing because it confuses people: when we are about to expand a
recipe we expand all lines in the recipe at once, before we invoke the first
line.  This means that subsequent recipe lines can't observe changes to the
environment based on changes in the system that were created by prior recipe
lines, anyway.

In order for the behavior to be observed it would have to use *$(file ...)* in
one expansion followed by a *$(wildcard ...)*.  We could certainly make
expansion of *$(file ...)* be another operation that would invalidate the
environment.

I kind of hate to add anything that increases reliance on this unpleasant
(IMO) behavior of how recipes are expanded, however.


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]