Re: Compiling with Scons on Mac arm64

Bill Deegan <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <CAEyG4CEOrkJwgN8hmSTvNj4EVrnZ0o_5r+SN8VH+LG1Par4-=g@mail.gmail.com>
+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 <[email protected]> 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
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.