bug-make
[Top][All Lists]
Advanced

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

Re: make-3.82 testcases fail *sometimes*


From: Paul Smith
Subject: Re: make-3.82 testcases fail *sometimes*
Date: Tue, 31 Aug 2010 16:57:16 -0400

On Tue, 2010-08-31 at 21:15 +0300, Eli Zaretskii wrote:
> > From: Paul Smith <address@hidden>
> > CC: address@hidden, address@hidden
> > Date: Tue, 31 Aug 2010 13:41:44 -0400
> > 
> > > How about introducing a new Make function $(sleep) ? ;-)
> > 
> > I don't see how that can work...?  We don't want make to sleep, we want
> > the job make invokes to sleep (to emulate a compile that takes some
> > amount of time).
> 
> A sub-make could sleep, no?

What I'm saying is that if you have a rule like this:

        foo:
                $(sleep 0.10) echo hi

The recipe is always expanded by make before it invokes the shell
command, so it would be make that runs the sleep operation, and make
that sleeps, before the shell is even started.

I don't think that would help the issue we're trying to solve (I really
can't see a valid use-case for $(sleep) to be honest).

But, maybe you were thinking of something different?




reply via email to

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