Skip to content

Conversation

@underoll
Copy link

@vitaliylag made really awesome job in #174 !
I like most of the changes, but building gcc and several versions of python looks a bit overkill.

I'm creating this to show another more straightforward way to get modern gcc and python even on centos:7

My main need is modern nodejs on the legacy el7, so I fixed x64-glibc-217 only.
But it looks like we can use just the same docker image for all centos:7-based recipes.

I assume that modern gcc and python can build old nodejs versions also.
Moreover, we already have them in the repo, so who cares to rebuild them once again.
But if we really want to use different gcc and python versions for previous nodejs builds, we can do that gracefully with conda/mamba:

mamba create -n 'v8.0' gxx=12
mamba create -n 'v14.14' gxx=12 python=3.9
mamba create -n 'v22.3' gxx=15 python=3.13

and then just switch them as

mamba activate 'v22.3'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants