[Scons-users] force rebuild of a specific target

William Blevins wblevins001 at gmail.com
Fri Oct 16 11:55:40 EDT 2015


Also, depending on what decider you are using MD5 vs timestamp you may just
be able to touch the file (IE. to change the timestamp).  Also, if you are
using caching then the rebuild will just pull the old file from the cache
since the dependencies will not have changed.

V/R,
William

On Fri, Oct 16, 2015 at 4:34 PM, William Blevins <wblevins001 at gmail.com>
wrote:

> You can move or delete the file in question; this will mark the node as
> out-of-date which will cause a rebuild.  Is that sufficient?  You can also
> mark a node as AlwaysBuild if that is more what you are looking for:
> http://www.scons.org/doc/HTML/scons-user/ch06s09.html
>
> V/R,
> William
>
> On Fri, Oct 16, 2015 at 3:47 PM, Roberto De Vecchi <
> roberto.devecchi at vi-grade.com> wrote:
>
>> Hi all,
>>
>>
>>
>> I’m looking for a way to request scons to rebuild a specific target. The
>> best for me would be to find a way compatible with the interactive mode.
>>
>>
>>
>> Digging a bit in the scons code base I found the option –assume-new that
>> seems to do what I need ( mark a node as out of date ), but it’s not yet
>> implemented.
>>
>>
>>
>> As an alternative I tried issuing a clean + build commands on specific
>> node, but in this way the clean command is cleaning all the nodes on which
>> my target depends on making the build process too time consuming.
>>
>>
>>
>> Any idea / suggestion is welcome!
>>
>>
>>
>> Cheers,
>>
>> roberto
>>
>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20151016/5704675b/attachment.html>


More information about the Scons-users mailing list