Re: Exponential Runtime in make 4.4.1 when export is used

2023-10-10 Thread Till Backhaus
Thank you Eddy, Prefix: I reported the issue via email and the issue tracker (didn't find the signup button at first, sent an email, found the signup button) where it's filed as https://savannah.gnu.org/bugs/index.php?64746. What Dimitry and you Eddy suggested definitely makes makes sense. Yet, I

Re: Exponential Runtime in make 4.4.1 when export is used

2023-10-09 Thread Edward Welbourne
On Wed, Oct 4, 2023 at 6:09 PM Till Backhaus wrote: >> This rather short Makefile shows exponential runtime depending on the number >> of variables. >> VAR_1 ?= $(shell echo 1) Dmitry Goncharov (6 October 2023 17:35) replied, ending: > Prefer simply expanded variables with $(shell). and if you

Re: Exponential Runtime in make 4.4.1 when export is used

2023-10-06 Thread Dmitry Goncharov
On Wed, Oct 4, 2023 at 6:09 PM Till Backhaus wrote: > This rather short Makefile shows exponential runtime depending on the number > of variables. > VAR_1 ?= $(shell echo 1) ... VAR_1 is a recursively expanded variable. When make defines this variable, the value is set to string '$(shell echo 1)

Re: Exponential Runtime in make 4.4.1 when export is used

2023-10-05 Thread Bahman Movaqar
On Wed, 2023-10-04 at 23:20 +0200, Till Backhaus wrote: > This rather short Makefile shows exponential runtime depending on the > number of variables. > export > > VAR_1 ?= $(shell echo 1) > VAR_2 ?= $(shell echo 2) > VAR_3 ?= $(shell echo 3) > VAR_4 ?= $(shell echo 4) > VAR_5 ?= $(shell echo 5)