[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ignore errors on specific command
From: |
David Boyce |
Subject: |
Re: ignore errors on specific command |
Date: |
Wed, 31 Mar 2010 13:05:07 -0400 |
On Wed, Mar 31, 2010 at 12:36 PM, John Calcote <address@hidden> wrote:
> On 3/31/2010 9:59 AM, David Boyce wrote:
>>
>> On Wed, Mar 31, 2010 at 11:37 AM, John Calcote<address@hidden>
>> wrote:
>>
>>>
>>> How about this:
>>>
>>> all: c1 c2 c3
>>>
>>> c1:
>>> cmd1
>>>
>>> c2:
>>> -cmd2
>>>
>>> c3:
>>> cmd3
>>>
>>
>> This would work but would also require:
>>
>> .PHONY: c1 c2 c3
>> .NOTPARALLEL:
>>
>> and is generally less useful than the previous solution. The ordering
>> is also unlear to a non-make-expert.
>>
>
> Something else that occurred to me after I hit "send" is that parallel make
> would have a problem with my suggestion too. When not using -j the order is
> as specified in the list of dependencies, but with -j, dependencies that are
> not related to each other are considered parallelizable.
Yes, that's where the .NOTPARALLEL comes in.
David Boyce