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