-
Notifications
You must be signed in to change notification settings - Fork 317
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
Add x86_64-unknown-linux-musl library release #999
Conversation
This adds x86_64-unknown-linux-musl as a new supported target for the pre-built rusty_v8 library releases, which should avoid multiple downstream consumers having to build this themselves. This target is useful when trying to build statically-compiled executables, which seems like a good thing to support for the purpose of using deno_core as an embedded JavaScript runtime. Closes denoland#49.
|
Thanks for the PR! Yes, we are interested in MUSL builds.
We used to compile for |
It seems like the main The branch |
It seems like maintenance of Is that project not something that is actively maintained? If so, should patches be applied/upstreamed in a different manner? I'd appreciate some feedback in any direction, after a month of waiting I'm just not certain if this is an issue with my process, or if maintenance is just taking some time to get around to the open issues. |
Are there any updates on this PR? It be super helpful to have this upstream. |
@piscisaureus please take a look |
Closing because it's very old. Please open a new PR if you want to continue this. |
I am not going to open a new PR, considering the only reason I can see for this not being resolved is due to the missing response from a maintainer and I don't see that changing with a new PR. However I do want to make it very clear that I still have interest in an x86_64-unknown-linux-musl release. If a maintainer ever wanted to get this to work, it shouldn't require my input since it's a pretty trivial patch, but please do reach out if you have any questions. |
This adds x86_64-unknown-linux-musl as a new supported target for the
pre-built rusty_v8 library releases, which should avoid multiple
downstream consumers having to build this themselves.
This target is useful when trying to build statically-compiled
executables, which seems like a good thing to support for the purpose of
using deno_core as an embedded JavaScript runtime.
Closes #49.
There have been several comments in related issues about how to build
rusty_v8
anddeno
on musl, many of which are outdated and do not work anymore. Hopefully getting this upstreamed can work around having to hunt down the correct solution for building things (see #49 and denoland/deno#3711).I'm mostly creating this PR to gauge if the approach taken here is something that can be upstreamed. It still requires rust-lang/docker-rust#104 and a patch to
chromium_build
to work:As far as I can tell, there are currently no other targets built in a Docker container and the maximum runtime of existing toolchains seems to be about 30 minutes. Based on my tests (https://github.com/phylum-dev/cli/runs/6716629634?check_suite_focus=true), this build would take around 2 hours on GitHub's runners.
I'd assume you're generally interested in providing musl builds? If you have any suggestions, please let me know.