Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Unofficial builds #3041

Open
martin-braun opened this issue Feb 24, 2023 · 3 comments
Open

Feature Request: Unofficial builds #3041

martin-braun opened this issue Feb 24, 2023 · 3 comments
Labels
feature requests I want a new feature in nvm! pull request wanted This is a great way to contribute! Help us out :-D

Comments

@martin-braun
Copy link

martin-braun commented Feb 24, 2023

@ljharb We recently talked about how it makes no sense to have a POSIX compliant installer, since on embedded systems you most likely need to compile node yourself, so the benefit of not installing bash is neglectable.

The reason why nvm doesn't work on Alpine Linux, is because the official builds are compiled against glibc, but there are unofficial builds for musl that should work.

It would be beneficial to have a way to define a different source for node versions, so that I can use nvm on Alpine in the first place.

node releases on the Alpine package manager are tied to repository branches, meaning accessing an older node version means to run an ancient OS as well. I'd love if you could look into it.

Related: nodejs/build#1140

@ljharb ljharb added feature requests I want a new feature in nvm! pull request wanted This is a great way to contribute! Help us out :-D labels Jun 2, 2023
@ljharb
Copy link
Member

ljharb commented Jun 2, 2023

Note: I put "PR wanted" on this, but I'm still very unclear about whether this can be added cleanly. I'd love to see a suggested implementation.

@ilg-ul
Copy link

ilg-ul commented Aug 21, 2023

That would be also very useful for RISC-V machines, I see that files like node-v20.5.1-linux-riscv64.tar.xz are available for download, but nvm still compiles everything from sources, which takes quite a lot of time.

Is there anything that can be done to speed up installs on RISC-V machines?

@ehoogeveen-medweb
Copy link

FWIW, the override in #3251 (which we're applying to our local install of nvm as a patch) is working well for us on CentOS 7, allowing us to install unofficial builds, check for updates etc. Without being able to add the linux-x64-glibc-217 suffix, it would not work at all.

Obviously this (being stuck on CentOS 7) is not a situation we want to be in long term, but for now this solution is preventing major dependency update headaches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature requests I want a new feature in nvm! pull request wanted This is a great way to contribute! Help us out :-D
Projects
None yet
Development

No branches or pull requests

4 participants