Skip to content

Commit 3584665

Browse files
authored
docs: remove sccache info from build instructions (electron#23297)
1 parent 6a564af commit 3584665

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

docs/development/build-instructions-gn.md

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,36 +24,23 @@ try to download a Google-internal version that only Googlers have access to).
2424

2525
[depot-tools]: http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up
2626

27-
## Cached builds (optional step)
27+
### Setting up the git cache
2828

29-
### GIT\_CACHE\_PATH
30-
31-
If you plan on building Electron more than once, adding a git cache will
32-
speed up subsequent calls to `gclient`. To do this, set a `GIT_CACHE_PATH`
33-
environment variable:
29+
If you plan on checking out Electron more than once (for example, to have
30+
multiple parallel directories checked out to different branches), using the git
31+
cache will speed up subsequent calls to `gclient`. To do this, set a
32+
`GIT_CACHE_PATH` environment variable:
3433

3534
```sh
3635
$ export GIT_CACHE_PATH="${HOME}/.git_cache"
3736
$ mkdir -p "${GIT_CACHE_PATH}"
3837
# This will use about 16G.
3938
```
4039

41-
### sccache
42-
43-
Thousands of files must be compiled to build Chromium and Electron.
44-
You can avoid much of the wait by reusing Electron CI's build output via
45-
[sccache](https://github.com/mozilla/sccache). This requires some
46-
optional steps (listed below) and these two environment variables:
47-
48-
```sh
49-
export SCCACHE_BUCKET="electronjs-sccache-ci"
50-
export SCCACHE_TWO_TIER=true
51-
```
52-
5340
## Getting the code
5441

5542
```sh
56-
$ mkdir electron-gn && cd electron-gn
43+
$ mkdir electron && cd electron
5744
$ gclient config --name "src/electron" --unmanaged https://github.com/electron/electron
5845
$ gclient sync --with_branch_heads --with_tags
5946
# This will take a while, go get a coffee.

0 commit comments

Comments
 (0)