Skip to content

Precompiled versions

Eugene Lazutkin edited this page Oct 19, 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 precompiled 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 the 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 the 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.