зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
540b640357
Коммит
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")
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче