nio4r icon indicating copy to clipboard operation
nio4r copied to clipboard

Distribute pre-compiled nio4r

Open HoneyryderChuck opened this issue 5 years ago • 2 comments

nokogiri is about to distribute its first version not requiring compilation on install. From what I gathered, the bulk of the work is being handled by rake-compiler-dock, while additional "magic" is done to handle the darwin/alpine case.

How hard would it be to integrate it in nio4r? I'm asking because it's a direct rails/puma dependency, whose compilation times are noticeable on install time, and influences the size of docker images, which have to have the gcc "toolchain" available.

HoneyryderChuck avatar Sep 09 '20 13:09 HoneyryderChuck

I would be happy to work towards this. I'm not sure what the final solution looks like, as I'm trying to avoid using rake, but I'd be happy to explore options.

ioquatix avatar Sep 10 '20 07:09 ioquatix

I'm trying to avoid using rake...

What's the issue with rake you're trying to avoid? What's the alternative? AFAICT nio4r already uses rake-compiler for the java builds, and I personally like the convenience of rake release, for instance.

HoneyryderChuck avatar Sep 10 '20 11:09 HoneyryderChuck