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

William Blevins wblevins001 at gmail.com
Mon Dec 19 14:11:05 EST 2016


In what version did the behavior change?

On Dec 19, 2016 1:57 PM, "Erling D. Andersen" <e.d.andersen at mosek.com>
wrote:

> 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
>>
>>
> _______________________________________________
> 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/0622c0be/attachment.html>


More information about the Scons-users mailing list