[Scons-users] Compiling with Scons on Mac arm64

Mats Wichmann mats at wichmann.us
Wed Feb 2 15:06:48 EST 2022


On 2/2/22 12:44, Paola Ferrario wrote:
> Hi, you are totally right! I checked and I was activating a conda
> enviroment that was still the x86_64 one and I was using the SCons
> installed in that environment. I installed the arm64 conda environment,
> installed SCons there and everything works fine now.
> 
> Do you recommend not to import the whole environment as a safety rule?

yes, in fact that's why SCons by default doesn't, to avoid unexpected
results from environment variables that just happen to be set - as well
as having a better chance of running reproducibly on other systems where
they aren't set....

If you do need things from os.environ, we usually suggest it's better to
bring them in selectively, and you might want to do some validation on
them if that makes sense.




More information about the Scons-users mailing list