[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Infinite loop bug with parallel make
From: |
Paul Smith |
Subject: |
Re: Infinite loop bug with parallel make |
Date: |
Fri, 22 Feb 2013 21:38:22 -0500 |
On Sat, 2013-02-23 at 02:32 +0000, Ian Lynagh wrote:
> The problem was that our compiler generates 2 output files (foo.o and
> foo.hi) when compiling one source file, and we had thus ended up with
> a bunch of rules like
> %.hi: %.o ;
The right way to declare a rule that generates multiple targets is:
%.o %.hi : %.c
...
In particular this won't break things when parallel builds are involved.
Is there some reason that doesn't work for you?
- Infinite loop bug with parallel make, Ian Lynagh, 2013/02/21
- Re: Infinite loop bug with parallel make, Sebastian Pipping, 2013/02/22
- Re: Infinite loop bug with parallel make, Ian Lynagh, 2013/02/22
- Re: Infinite loop bug with parallel make,
Paul Smith <=
- Re: Infinite loop bug with parallel make, Shachar Shemesh, 2013/02/23
- Re: Infinite loop bug with parallel make, Ian Lynagh, 2013/02/23
- Re: Infinite loop bug with parallel make, Paul Smith, 2013/02/23
- Re: Infinite loop bug with parallel make, Ian Lynagh, 2013/02/23
- Re: Infinite loop bug with parallel make, Paul Smith, 2013/02/23
- Re: Infinite loop bug with parallel make, Ian Lynagh, 2013/02/23
- Re: Infinite loop bug with parallel make, Ian Lynagh, 2013/02/23