Skip to content

Precompiled versions

Eugene Lazutkin edited this page Nov 28, 2020 · 9 revisions

This project is a binary (C++) addon for Node written with NAN and as such it requires platform-specific build tools and node-gyp installed and properly configured. In most cases, the hassle of compilation can be avoided by identifying the platform and downloading a pre-compiled artifact. It is done with install-artifact-from-github. If you have any problems with this tool or want to bypass it, please consult the documentation hosted in its wiki.

re2-specific details:

  • All builds are listed in build.yml.
    • As of 10/1/2020 we build binaries for the following platform/node combinations:
      • Windows: 10, 12, 14.
      • MacOS (intel): 10, 12, 14.
      • Linux CentOS 6: 10.
      • Linux CentOS 7: 12, 14.
      • Alpine Linux (MUSL): 10, 12, 14.
    • All details of building environments can be found in actions.
      • Different distros are used to minimize versions of required internal libraries increasing interoperability.
  • The results are saved in a corresponding release (see releases).
  • If RE2_DOWNLOAD_MIRROR environment variable is defined, it will be used instead of https://github.com for downloading an artifact.
    • It is there to facilitate private mirrors. You can create one by copying existing artifacts from a release, or by building all necessary versions yourself.

The policy is to provide builds with the latest re2 release for the following Node versions:

  • All supported LTS releases (as long as security fixes are provided by the maintainers).
  • The latest release, if it is not LTS.

At the moment of this writing (11/28/2020), it means versions 10, 12, 14, and 15: https://endoflife.date/nodejs