Skip to content
Snippets Groups Projects
  1. Jul 14, 2017
  2. Jul 13, 2017
  3. Jul 12, 2017
  4. Jul 11, 2017
  5. Jun 27, 2017
  6. Jun 20, 2017
  7. Jun 15, 2017
  8. Jun 08, 2017
  9. May 30, 2017
  10. May 23, 2017
  11. May 20, 2017
  12. May 18, 2017
  13. May 17, 2017
  14. May 16, 2017
  15. 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
  16. May 11, 2017
  17. May 10, 2017
  18. May 04, 2017
  19. Apr 27, 2017
  20. Apr 26, 2017
  21. Apr 19, 2017
  22. Apr 17, 2017
  23. Apr 16, 2017
Loading