Skip to content
Snippets Groups Projects
  1. May 24, 2017
  2. May 23, 2017
  3. May 22, 2017
  4. May 20, 2017
  5. May 19, 2017
  6. May 18, 2017
  7. May 17, 2017
  8. May 16, 2017
  9. May 15, 2017
  10. May 14, 2017
  11. May 13, 2017
    • Ernie Miller's avatar
      Remove unnecessary require_relative · eef382c9
      Ernie Miller authored
      `require-relative` breaks Rubygems' ability to use the arch-specific
      directory in `extensions`. When building grpc extensions from source,
      we're left with a lot of intermediate object files and a duplicate
      shared object file as well. This space can be reclaimed by finding these
      object files inside the `gems` subdirectory of the installation
      location, while leaving the shared object file in the `extensions`
      subdirectory. See the comments at
      https://github.com/rubygems/rubygems/issues/926 for more on this
      behavior, which has been present in Rubygems for years.
      
      By using `require` instead, those of us who build from source can
      reclaim space consumed by duplicate and intermediate files, which
      amounts to a savings of 46MB (in a build of 1.3.2 on Alpine
      Linux). This is helpful when trying to minimize the size of a Docker
      image.
      
      I'm unclear on whether or not the reclaiming of this space can be
      automated as part of the build process. If so, it may be worth
      considering as a separate effort.
      Unverified
      eef382c9
    • Nicolas Noble's avatar
      7edcce21
  12. May 12, 2017
  13. May 11, 2017
Loading