From 9d4e1a53f5cdf5061febbb8d4aa10127c7bb6995 Mon Sep 17 00:00:00 2001 From: dalance Date: Tue, 7 May 2019 10:31:54 +0900 Subject: [PATCH] Add doc of HOMEBREW_ARCH --- Library/Homebrew/manpages/brew.1.md.erb | 4 ++++ docs/Manpage.md | 4 ++++ manpages/brew-cask.1 | 2 +- manpages/brew.1 | 6 +++++- 4 files changed, 14 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/manpages/brew.1.md.erb b/Library/Homebrew/manpages/brew.1.md.erb index 7d45775eef..33139e85bb 100644 --- a/Library/Homebrew/manpages/brew.1.md.erb +++ b/Library/Homebrew/manpages/brew.1.md.erb @@ -115,6 +115,10 @@ Note that environment variables must have a value set to be detected. For exampl `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just `export HOMEBREW_NO_INSECURE_REDIRECT`. + * `HOMEBREW_ARCH`: + If set, Homebrew will pass cpu type name to compiler by `-march` option instead of + `-march=native`. This is affected on Linux only. + * `HOMEBREW_ARTIFACT_DOMAIN`: If set, instructs Homebrew to prefix all download URLs, including those for bottles, with this variable. For example, `HOMEBREW_ARTIFACT_DOMAIN=http://localhost:8080` diff --git a/docs/Manpage.md b/docs/Manpage.md index e12e790cb2..8aa5b20788 100644 --- a/docs/Manpage.md +++ b/docs/Manpage.md @@ -992,6 +992,10 @@ Note that environment variables must have a value set to be detected. For exampl `export HOMEBREW_NO_INSECURE_REDIRECT=1` rather than just `export HOMEBREW_NO_INSECURE_REDIRECT`. + * `HOMEBREW_ARCH`: + If set, Homebrew will pass cpu type name to compiler by `-march` option instead of + `-march=native`. This is affected on Linux only. + * `HOMEBREW_ARTIFACT_DOMAIN`: If set, instructs Homebrew to prefix all download URLs, including those for bottles, with this variable. For example, `HOMEBREW_ARTIFACT_DOMAIN=http://localhost:8080` diff --git a/manpages/brew-cask.1 b/manpages/brew-cask.1 index b3829c13cf..59916b7f77 100644 --- a/manpages/brew-cask.1 +++ b/manpages/brew-cask.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BREW\-CASK" "1" "April 2019" "Homebrew" "brew-cask" +.TH "BREW\-CASK" "1" "May 2019" "Homebrew" "brew-cask" . .SH "NAME" \fBbrew\-cask\fR \- a friendly binary installer for macOS diff --git a/manpages/brew.1 b/manpages/brew.1 index cb33b9da8c..67bfd9a4b9 100644 --- a/manpages/brew.1 +++ b/manpages/brew.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "BREW" "1" "April 2019" "Homebrew" "brew" +.TH "BREW" "1" "May 2019" "Homebrew" "brew" . .SH "NAME" \fBbrew\fR \- The missing package manager for macOS @@ -1225,6 +1225,10 @@ Homebrew can install formulae via URL, e\.g\. \fBhttps://raw\.githubusercontent\ Note that environment variables must have a value set to be detected\. For example, \fBexport HOMEBREW_NO_INSECURE_REDIRECT=1\fR rather than just \fBexport HOMEBREW_NO_INSECURE_REDIRECT\fR\. . .TP +\fBHOMEBREW_ARCH\fR +If set, Homebrew will pass cpu type name to compiler by \fB\-march\fR option instead of \fB\-march=native\fR\. This is affected on Linux only\. +. +.TP \fBHOMEBREW_ARTIFACT_DOMAIN\fR If set, instructs Homebrew to prefix all download URLs, including those for bottles, with this variable\. For example, \fBHOMEBREW_ARTIFACT_DOMAIN=http://localhost:8080\fR will cause a formula with the URL \fBhttps://example\.com/foo\.tar\.gz\fR to instead download from \fBhttp://localhost:8080/example\.com/foo\.tar\.gz\fR\. .