mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 14:52:16 +00:00
Bug 1787398 - Prevent use-sccache to be set when use-pgo is set. r=taskgraph-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D156037
This commit is contained in:
parent
b0c2de5c96
commit
f427f66657
@ -178,6 +178,11 @@ def use_profile_data(config, jobs):
|
||||
# LTO linkage needs more open files than the default from run-task.
|
||||
job["worker"]["env"].update({"MOZ_LIMIT_NOFILE": "8192"})
|
||||
|
||||
if job.get("use-sccache"):
|
||||
raise Exception(
|
||||
"use-sccache is incompatible with use-pgo in {}".format(job["name"])
|
||||
)
|
||||
|
||||
yield job
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user