diff --git a/Library/Homebrew/env_config.rb b/Library/Homebrew/env_config.rb index e16fc15296..18a670cefa 100644 --- a/Library/Homebrew/env_config.rb +++ b/Library/Homebrew/env_config.rb @@ -39,6 +39,10 @@ module Homebrew HOMEBREW_BINTRAY_USER: { description: "Use this username when accessing the Bintray API (where bottles are stored).", }, + HOMEBREW_BOOTSNAP: { + description: "If set, use Bootsnap to speed up repeated `brew` calls.", + boolean: true, + }, HOMEBREW_BOTTLE_DOMAIN: { description: "Use this URL as the download mirror for bottles. " \ "For example, `HOMEBREW_BOTTLE_DOMAIN=http://localhost:8080` will cause all bottles to " \ @@ -203,6 +207,10 @@ module Homebrew "`brew install`, `brew upgrade` or `brew tap`.", boolean: true, }, + HOMEBREW_NO_BOOTSNAP: { + description: "If set, do not use Bootsnap to speed up repeated `brew` calls.", + boolean: true, + }, HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: { description: "If set, fail on the failure of installation from a bottle rather than " \ "falling back to building from source.", diff --git a/docs/Manpage.md b/docs/Manpage.md index c6b471d806..1260340f88 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -1707,6 +1707,9 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just - `HOMEBREW_BINTRAY_USER`
Use this username when accessing the Bintray API (where bottles are stored). +- `HOMEBREW_BOOTSNAP` +
If set, use Bootsnap to speed up repeated `brew` calls. + - `HOMEBREW_BOTTLE_DOMAIN`
Use this URL as the download mirror for bottles. For example, `HOMEBREW_BOTTLE_DOMAIN=http://localhost:8080` will cause all bottles to download from the prefix `http://localhost:8080/`. @@ -1839,6 +1842,9 @@ example, run `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just - `HOMEBREW_NO_AUTO_UPDATE`
If set, do not automatically update before running `brew install`, `brew upgrade` or `brew tap`. +- `HOMEBREW_NO_BOOTSNAP` +
If set, do not use Bootsnap to speed up repeated `brew` calls. + - `HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK`
If set, fail on the failure of installation from a bottle rather than falling back to building from source. diff --git a/manpages/brew.1 b/manpages/brew.1 index b226fc8c21..ed8565d917 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -2376,6 +2376,12 @@ Use this API key when accessing the Bintray API (where bottles are stored)\. Use this username when accessing the Bintray API (where bottles are stored)\. . .TP +\fBHOMEBREW_BOOTSNAP\fR +. +.br +If set, use Bootsnap to speed up repeated \fBbrew\fR calls\. +. +.TP \fBHOMEBREW_BOTTLE_DOMAIN\fR . .br @@ -2622,6 +2628,12 @@ If set, do not send analytics\. For more information, see: \fIhttps://docs\.brew If set, do not automatically update before running \fBbrew install\fR, \fBbrew upgrade\fR or \fBbrew tap\fR\. . .TP +\fBHOMEBREW_NO_BOOTSNAP\fR +. +.br +If set, do not use Bootsnap to speed up repeated \fBbrew\fR calls\. +. +.TP \fBHOMEBREW_NO_BOTTLE_SOURCE_FALLBACK\fR . .br