Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-01-30 03:31:20


Vladimir Prus wrote:
> On Monday 30 January 2006 11:00, Johan Nilsson wrote:
>
>>>
>>> notfile whatever : @your_action : hello ;
>>
>> "@" ?
>
> The "@" is supposed to mean that "your_action" is the name of a rule,
> not target or something else.

Ok.

>
>> And why is "hello" there?
>
> Sorry, it should not be there, I've copied it from another example
> where it made sense. It's a list of soruces to 'whatever', and in
> your case it can be empty.

Ok. It made your example look like a case of circular dependencies.

>
>>> actions your_action
>>> {
>>> ruby whatever
>>> }
>>>
>>> exe hello : hello.cpp : <dependency>whatever ;
>>>
>>> In this case, 'hello' won't be build if the 'ruby whatever' target
>>> fails.
>>
>> During certain periods, such as when I'm using boost straight from
>> the latest cvs, I'd like it to be built regardless of whether
>> "your_action" completes successfully or not (there might be
>> 'partial' success). IIRC there was some "ignore" flag in classic Jam?
>
> I don't think classic Jam had such "ignore" flag. You might try to
> make your "ruby whatever" action detect the mode of operation and
> either return the real exit status, or always return 0.

What about: http://public.perforce.com/public/jam/src/Jam.html (search for
"actions ignore")?

// Johan


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk