Skip to content

build: build release/CI on non-Windows with code cache

This is the minimal change to enable code cache in CI/release builds on non-Windows. (Needs another PR to vcbuild.bat to enable it on Windows).

The normal dev flow is unaltered because currently make test does not run configure automatically. To enable code cache locally (so that the tests run faster) one will need to run make with-code-cache first to persist the configure options to ./config.status. If that target has never been run, the build flow is the same as before except that the code cache test will be skipped instead of being ignored.

Refs: https://github.com/nodejs/node/issues/21563

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading