Skip to content
Snippets Groups Projects
  • Stan Hu's avatar
    43af8741
    Add clean up steps in preparation for re2 v2.0 gem · 43af8741
    Stan Hu authored
    As mentioned in https://ruby.social/@mudge/111029298058288514, re2
    v2.0 will ship with precompiled native gems. In preparation for that,
    perform clean up on unnecessary files:
    
    1. As we do with nokogiri and gprc, remove unnecessary precompiled
    libraries for unused Ruby versions.
    
    2. For arm64 platforms where we recompile native gems from source, the
    `ports` directory holds the abseil-cpp and libre2 tarballs. The
    extracted source, headers, and compiled libraries are also stored
    there.  These files are not necessary since the final shared library
    statically links with the libraries.
    
    These changes are backwards compatible with re2 v1.0 since v1.0
    doesn't ship with these files.
    
    Changelog: changed
    43af8741
    History
    Add clean up steps in preparation for re2 v2.0 gem
    Stan Hu authored
    As mentioned in https://ruby.social/@mudge/111029298058288514, re2
    v2.0 will ship with precompiled native gems. In preparation for that,
    perform clean up on unnecessary files:
    
    1. As we do with nokogiri and gprc, remove unnecessary precompiled
    libraries for unused Ruby versions.
    
    2. For arm64 platforms where we recompile native gems from source, the
    `ports` directory holds the abseil-cpp and libre2 tarballs. The
    extracted source, headers, and compiled libraries are also stored
    there.  These files are not necessary since the final shared library
    statically links with the libraries.
    
    These changes are backwards compatible with re2 v1.0 since v1.0
    doesn't ship with these files.
    
    Changelog: changed