chore: update goma documentation (#21761)
This commit is contained in:
parent
fa42b5980e
commit
80a037db86
1 changed files with 8 additions and 6 deletions
|
@ -9,9 +9,9 @@ on authentication.
|
||||||
|
|
||||||
## Enabling Goma
|
## Enabling Goma
|
||||||
|
|
||||||
Currently Electron Goma supports both Windows and Linux, we may add macOS
|
Currently Electron Goma supports Windows, Linux, and macOS. If you are
|
||||||
support at some point in the future. If you are on a supported platform
|
on a supported platform you can enable goma by importing the `goma.gn` config
|
||||||
you can enable goma by importing the `goma.gn` config file when using `gn`.
|
file when using `gn`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gn gen out/Testing --args="import(\"//electron/build/args/testing.gn\") import(\"//electron/build/args/goma.gn\")"
|
gn gen out/Testing --args="import(\"//electron/build/args/testing.gn\") import(\"//electron/build/args/goma.gn\")"
|
||||||
|
@ -39,9 +39,11 @@ goma_ctl.py ensure_start
|
||||||
## Building with Goma
|
## Building with Goma
|
||||||
|
|
||||||
When you are using Goma you can run `ninja` with a substantially higher `j`
|
When you are using Goma you can run `ninja` with a substantially higher `j`
|
||||||
value than would normally be supported by your machine. Please do not set
|
value than would normally be supported by your machine.
|
||||||
a value higher than **300**, we monitor the goma system and users found to
|
|
||||||
be abusing it with unreasonable concurrency will be de-activated.
|
Please do not set a value higher than **300** on Windows or Linux and
|
||||||
|
**80** on macOS, we monitor the goma system and users found to be abusing
|
||||||
|
it with unreasonable concurrency will be de-activated.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ninja -C out/Testing electron -j 200
|
ninja -C out/Testing electron -j 200
|
||||||
|
|
Loading…
Reference in a new issue