rake-compiler / rake-compiler-dock

Easy to use and reliable cross compiler environment for building Windows, Linux, Mac and JRuby binary gems.
MIT License
77 stars 30 forks source link

Update pkg-config in manylinux build images to 0.29.2 #123

Closed flavorjones closed 4 months ago

flavorjones commented 4 months ago

Addresses concerns from #121

Note that:

If this works, then I'll add some documentation around it.

flavorjones commented 4 months ago

cc @mudge

mudge commented 4 months ago

Thanks, @flavorjones. What’s the best way for me to test this out?

flavorjones commented 4 months ago

Comparing re2's x86_64-linux build on my laptop between the 1.5.0 image and an image generated from this PR's branch ("1.5.1.dev"):

@mudge Objections to me merging this and shipping 1.5.1?

mudge commented 4 months ago

None whatsoever!

flavorjones commented 4 months ago

@mudge Here are the steps I took:

  1. on dev machine, clone this branch, run gem build, and run gem install path/to/rake-compiler-dock-1.5.1.dev.gem
  2. in your re2 working directory, update re2.gemspec to depend on 1.5.1.dev
  3. bundle update and bundle package so that your r-c-d builds can access the gem from vendor/cache

That was it.