mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 12:49:10 +00:00
parent
1b1ae65a4a
commit
56ac638d93
24 changed files with 545 additions and 414 deletions
|
@ -127,9 +127,9 @@ def generate_gn_args(mode):
|
|||
if "DENO_BUILD_ARGS" in os.environ:
|
||||
out += os.environ["DENO_BUILD_ARGS"].split()
|
||||
|
||||
cacher = third_party.get_prebuilt_tool_path("sccache")
|
||||
cacher = find_executable("sccache")
|
||||
if not os.path.exists(cacher):
|
||||
cacher = find_executable("sccache") or find_executable("ccache")
|
||||
cacher = third_party.get_prebuilt_tool_path("sccache")
|
||||
|
||||
# Check if ccache or sccache are in the path, and if so we set cc_wrapper.
|
||||
cc_wrapper = cacher
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue