[Scons-users] SCons Environments and ENV

Russel Winder russel at winder.org.uk
Tue Jun 9 08:02:41 EDT 2020


On Sat, 2020-06-06 at 08:49 -0700, Eric Fahlgren wrote:
> I too would suspect differences in the environment, I brute force this sort
> of issue:
> 
> > python -c 'import os ; print(*sorted(os.environ.items()), sep="\n")' > x
> > same thing in scons > y
> 
> then side-by-side diff of x and y usually coughs up the issue.

As far as I can tell, printenv and printing out the test_environment['ENV']
list all the same variables. Sadly I would be worried if that wasn't the case.
However, this doesn't tell me if the compilation actually does happen with all
the same variables. I believe it does, but I have no actual proof.

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20200609/ebf0fb59/attachment.sig>


More information about the Scons-users mailing list