[Scons-users] env[X'] and signatures

Erling D. Andersen e.d.andersen at mosek.com
Mon Dec 19 13:49:13 EST 2016


But this car does affect the build line. The build is a Python procedure
generating some output e.g. an h file.

We have been using scons  for 10years or so but it seems at some point
scons changed behavior on whether variables was hashed in.

So we wondered what the correct behavior is.

Den 19. dec. 2016 4.51 PM skrev "William Blevins" <wblevins001 at gmail.com>:

> Erling,
>
> Using the C language as an example, CCCOM (insert your compiler action
> string here) will implicitly support that behavior. There is a way to add
> variables to the hash explicitly, I will dig around for it this evening.
>
> V/R,
> William
>
> On Mon, Dec 19, 2016 at 4:11 AM, Erling D. Andersen <
> e.d.andersen at mosek.com> wrote:
>
>> Hi
>>
>> Assume you have
>>
>>     env['MYVAR'] = 'something'
>>
>> then is env['MYVAR'] hashed into the signature of the targets?
>>
>>
>> [Background info:
>>
>> Note we have several builders that are Python scripts that uses the env
>> as a source i.e. variables in the env. So if env['MYVAR'] is not hashed
>> into the signature then things does not get rebuild as we hoped they
>> should.]
>>
>>
>> --
>> Erling D. Andersen
>>
>> MOSEK APS
>> Fruebjergvej 3,
>> Symbion Science Park Box 16,
>> DK-2100 Copenhagen O
>>
>> Ph: +45 7174 9373 <+45%2071%2074%2093%2073>
>> Mo: +45 2362 9520 <+45%2023%2062%2095%2020>
>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>>
>
> _______________________________________________
> 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/20161219/32eb7430/attachment-0001.html>


More information about the Scons-users mailing list