Re: Drake: Distributed Rake



On Sep 9, 7:32 pm, Martin DeMello <martindeme...@xxxxxxxxx> wrote:
On Tue, Sep 9, 2008 at 4:13 PM, . <quixoticsycoph...@xxxxxxxxx> wrote:

(and I should hope we all agree), then there is nothing which can save
us.  We are forced to write our Rakefiles correctly.  No backwards
compatibility mode is possible for threads>1.

A --file-order-implies-dependency flag might get us there in a lot of
cases, though of course there's no general solution. Of more value
would be a lint tool that helps convert a rakefile into parallelisable
form.

martin

But I thought we just agreed those two forms should be the same? Now
you are proposing a flag which will make them different.

I think you're missing the larger point, which is that there are still
a million ways to make a mistake with the dependency graph. Your flag
will not come close to saving us.

A tool which analyzes our code and outputs what we meant to write
would be great. But until that glorious technology arrives, tools
will continue to operate on the principle of garbage-in, garbage-out.
As I've unsuccessfully explained in this thread, the problem lies in
our mistakes in thinking.

It seems to me the general solution is to not use -j until you've got
all your ducks in a row.

JL
.



Relevant Pages

  • Re: Updating installed modules?
    ... Thanks - it did the trick. ... Is there a 'flag' I can use to accept all the ... although this cancels installation if it's waiting ... Could there be a general solution? ...
    (comp.lang.perl.modules)
  • Re: Qs on CLEARTYPE_QUALITY
    ... the CLEARTYPE_QUALITY flag has no effect on ... The general solution for this sort of problem is to call GetVersionEx at ... just don't do it for printer DCs. ...
    (microsoft.public.win32.programmer.gdi)
  • DE - Reduction of Order questions
    ... and use reduction of order to find a second, linearly independent ... and use reductio of order to find the general solution. ... Did I make any mistake so far? ...
    (sci.math)
  • Re: Is fork() hook ever possible?
    ... to set a flag that indicates a stir should be done at the next ... That was my original idea - to set the flag variable ... getpidspeedup looks like more general solution ... for all similar cases while the flag will be for arc4random() only. ...
    (freebsd-current)