mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1676307 - Search for sccache in the toolchain search path. r=firefox-build-system-reviewers,mhentges
So that ac_add_options --with-ccache=sccache just works. Differential Revision: https://phabricator.services.mozilla.com/D96501
This commit is contained in:
parent
540b640357
commit
440671e906
@ -712,6 +712,7 @@ def toolchain_search_path_for(host_or_target):
|
||||
["dump_syms"],
|
||||
["nasm"],
|
||||
["lucetc"],
|
||||
["sccache"],
|
||||
)
|
||||
]
|
||||
|
||||
@ -789,7 +790,9 @@ def ccache(value):
|
||||
return "ccache"
|
||||
|
||||
|
||||
ccache = check_prog("CCACHE", progs=(), input=ccache)
|
||||
ccache = check_prog(
|
||||
"CCACHE", progs=(), input=ccache, paths=toolchain_search_path, allow_missing=True
|
||||
)
|
||||
|
||||
option(env="CCACHE_PREFIX", nargs=1, help="Compiler prefix to use when using ccache")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user