[Scons-users] Compiling with Scons on Mac arm64
Bill Deegan
bill at baddogconsulting.com
Wed Feb 2 16:16:01 EST 2022
+1 to either not importing users shell environment at all, or selectively
and with validation..
(or.. Ditto what Mats said.. ;)
On Wed, Feb 2, 2022 at 12:06 PM Mats Wichmann <mats at wichmann.us> wrote:
> 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.
>
>
> _______________________________________________
> 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/20220202/db72b6f6/attachment.htm>
More information about the Scons-users
mailing list