-
Notifications
You must be signed in to change notification settings - Fork 121
Release libv8 compiled with muslc support in Github Releases #270
Comments
Hey, that's an interesting idea! |
This would be great to have. I've been struggling to install libv8 on Alpine for a few days now. |
Hello, Sorry it took a while to get back to you, but while this might work as a workaround for one major issue to getting libv8 on Alpine, the current blocker is #259. I'd gladly publish a binary linked against musl if I could build one at all... |
@ignisf yeah, it's just a workaround. But I haven't noticed any issue in rubygems/bundler to reflect this issue (gem's muslc support). Maybe worth to create and start a discussion on this topic? I just don't know how to describe the problem well, so I would leave it on someone more knowledgeable/ |
Hey @ignisf, we (Sqreen) maintain and push libv8-alpine and libv8-solaris gems, which we built by fetching source outside of the target platforms, then building To achieve a sustainable solution, we're tackling this together with upstream, and currently aiming at having Does that sound interesting to you? |
@lloeki This does sound interesting! Can we create a new tracking issue for this? What's the next step to push this forward on Node's side? Are there any differences between Node's build configuration and ours that we'd have to sort out? Would we run into any incompatibilities with those who wanted to use their own version of v8? |
I forgot how many issues might be tied to this. Let me create a new issue on this repo to track that overall. |
Opened #304 as suggested! |
Closing as ruby gems now allows that, plus this issue is completely sidestepped in libv8-node, which does have linux(-gnu) and linux-musl builds. |
Hello,
since rubygems can't recognize used glibc or muslc support so it's not possible to release a gem compiled with muslc to rubygems.org. But it's still to possible to release it here in Releases and download it from here and use it manually, e.g. this way:
It's not easy to set and compile
libv8
gem on Alpine Linux. This would help the folks who use Alpine Linux based Docker images. Yes, this is a workaround, but it's some quite easy solution for some of us.The text was updated successfully, but these errors were encountered: