[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: improvements for parallel makes ?
From: |
Boris Kolpackov |
Subject: |
Re: improvements for parallel makes ? |
Date: |
Thu, 6 Apr 2006 08:20:08 +0000 (UTC) |
User-agent: |
nn/6.6.5+RFC1522 |
Alexey,
Alexey Neyman <address@hidden> writes:
> Ok, let's consider the following makefile fragment:
>
> <<<<<<
> local_objects = a.o b.o c.o d.o
>
> all: all-recursive all-local
>
> all-recursive:
> $(MAKE) -C subdir all
>
> all-local: % all-recursive
>
> all-local: $(local_objects)
> <<<<<<
>
> The intention is clear: the recursive make in subdirectories shall be
> finished before local objects are remade. However, with this
> makefile, make will behave as follows:
>
> 1. make will start a job for "all-recursive" target
> 2. make will notice that it has spare jobs, and will consider the
> target all-local.
> 3. all-local target has dependencies, and before making all-local
> target itself, make will update its dependencies - in parallel with
> the running "all-recursive" job.
Thanks for refreshing my memory. I guess you are right about the
further relaxed order-only prerequisites being too low-level.
Maybe it is a good idea to implement .WAIT in terms of them, as
you have suggested.
-boris
- improvements for parallel makes ?, Christophe LYON, 2006/04/03
- Re: improvements for parallel makes ?, Paul D. Smith, 2006/04/03
- Re: improvements for parallel makes ?, Alexey Neyman, 2006/04/04
- Re: improvements for parallel makes ?, Boris Kolpackov, 2006/04/04
- Re: improvements for parallel makes ?, Christophe LYON, 2006/04/04
- Re: improvements for parallel makes ?, Alexey Neyman, 2006/04/04
- Re: improvements for parallel makes ?, Boris Kolpackov, 2006/04/04
- Re: improvements for parallel makes ?, Alexey Neyman, 2006/04/05
- Re: improvements for parallel makes ?,
Boris Kolpackov <=
- Re: improvements for parallel makes ?, Alexey Neyman, 2006/04/06
- Re: improvements for parallel makes ?, Christophe LYON, 2006/04/06
- Re: improvements for parallel makes ?, Alexey Neyman, 2006/04/20
- Re: improvements for parallel makes ?, Paul D. Smith, 2006/04/20
- Re: improvements for parallel makes ?, Alexey Neyman, 2006/04/20
- Re: improvements for parallel makes ?, Paul D. Smith, 2006/04/20
- Re: improvements for parallel makes ?, Christophe LYON, 2006/04/20
- Re: improvements for parallel makes ?, Alexey Neyman, 2006/04/20
- Re: improvements for parallel makes ?, Christophe LYON, 2006/04/21