-
-
Notifications
You must be signed in to change notification settings - Fork 59
Precompiled versions
This project is a C++ addon built with NAN and node-gyp. At install time, a precompiled artifact is downloaded via install-artifact-from-github. If you have problems or want to bypass the download, see its wiki.
Precompiled artifacts are a convenience — they are not guaranteed for every configuration. Be prepared to compile locally. Make sure all node-gyp dependencies are installed.
To skip the precompiled download and build locally, set DEVELOPMENT_SKIP_GETTING_ASSET to any non-empty value:
DEVELOPMENT_SKIP_GETTING_ASSET=yes npm installBuilds are provided for Node versions with active security support. See https://endoflife.date/nodejs for the current list.
Details:
- Build matrix: build.yml.
- Build environments: actions (different distros may be used for broader compatibility).
- Artifacts: releases.
Copy existing artifacts from a release or build them yourself. See making local mirrors for details.
The following re2-specific environment variables are used:
| Command-line arg | Value |
|---|---|
--host-var |
RE2_DOWNLOAD_MIRROR |
--skip-path-var |
RE2_DOWNLOAD_SKIP_PATH |
--skip-ver-var |
RE2_DOWNLOAD_SKIP_VER |
Example:
RE2_DOWNLOAD_MIRROR=https://local.mirror/vendors/re2 RE2_DOWNLOAD_SKIP_PATH=1 npm i