doc: fix environment variable settings for ccache#40550
Conversation
This comment has been minimized.
This comment has been minimized.
| $ ccache -o cache_dir=<tmp_dir> | ||
| $ ccache -o max_size=5.0G |
There was a problem hiding this comment.
Should we be dropping these?
There was a problem hiding this comment.
Should we be dropping these?
ccache has a reasonable default for cache_dir so that removes the necessity to set a cache_dir explicitly. Ref: https://ccache.dev/manual/4.3.html#config_cache_dir
max_size default is 5Gb, so we don't need the step that explicitly sets it to 5Gb as well. Ref: https://ccache.dev/manual/4.3.html#config_max_size
Commit Queue failed- Loading data for nodejs/node/pull/40550 ✔ Done loading data for nodejs/node/pull/40550 ----------------------------------- PR info ------------------------------------ Title doc: fix environment variable settings for ccache (#40550) Author Rich Trott (@Trott) Branch Trott:build-ccache -> nodejs:master Labels doc, build, author ready Commits 3 - doc: fix environment variable settings for ccache - doc: format BUILDING.md - doc: simplify ccache instructions Committers 1 - Rich Trott PR-URL: https://github.com/nodejs/node/pull/40550 Fixes: https://github.com/nodejs/node/issues/40542 Reviewed-By: Geoffrey Booth Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca ------------------------------ Generated metadata ------------------------------ PR-URL: https://github.com/nodejs/node/pull/40550 Fixes: https://github.com/nodejs/node/issues/40542 Reviewed-By: Geoffrey Booth Reviewed-By: Antoine du Hamel Reviewed-By: Luigi Pinca -------------------------------------------------------------------------------- ℹ This PR was created on Thu, 21 Oct 2021 17:15:20 GMT ✔ Approvals: 3 ✔ - Geoffrey Booth (@GeoffreyBooth): https://github.com/nodejs/node/pull/40550#pullrequestreview-785998018 ✔ - Antoine du Hamel (@aduh95) (TSC): https://github.com/nodejs/node/pull/40550#pullrequestreview-786016926 ✔ - Luigi Pinca (@lpinca): https://github.com/nodejs/node/pull/40550#pullrequestreview-786090196 ✔ Last GitHub Actions successful ℹ Green GitHub Actions CI is sufficient -------------------------------------------------------------------------------- ✔ No git cherry-pick in progress ✔ No git am in progress ✔ No git rebase in progress -------------------------------------------------------------------------------- - Bringing origin/master up to date... From https://github.com/nodejs/node * branch master -> FETCH_HEAD ✔ origin/master is now up-to-date - Downloading patch for 40550 From https://github.com/nodejs/node * branch refs/pull/40550/merge -> FETCH_HEAD ✔ Fetched commits as 40d890d31d6f..b57e2b0a64be -------------------------------------------------------------------------------- Auto-merging BUILDING.md [master e7817f7d32] doc: fix environment variable settings for ccache Author: Rich Trott Date: Thu Oct 21 10:06:49 2021 -0700 1 file changed, 12 insertions(+) Auto-merging BUILDING.md The previous cherry-pick is now empty, possibly due to conflict resolution. If you wish to commit it anyway, use:https://github.com/nodejs/node/actions/runs/1377942911 |
macOS requires `cc` and `c++` rather than `gcc` and `g++`. Closes: nodejs#40542 PR-URL: nodejs#40550 Fixes: nodejs#40542 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
`ccache` has reasonable defaults for `max_size` and `cache_dir` so remove instructions to set those things explicitly. Change fenced code from `console` to `bash` for easier copy/paste. PR-URL: nodejs#40550 Fixes: nodejs#40542 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
|
Landed in 40d890d...31d7d6c |
`ccache` has reasonable defaults for `max_size` and `cache_dir` so remove instructions to set those things explicitly. Change fenced code from `console` to `bash` for easier copy/paste. PR-URL: #40550 Fixes: #40542 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
`ccache` has reasonable defaults for `max_size` and `cache_dir` so remove instructions to set those things explicitly. Change fenced code from `console` to `bash` for easier copy/paste. PR-URL: #40550 Fixes: #40542 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
macOS requires
ccandc++rather thangccandg++.Closes: #40542