diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:42 +0000 |
commit | da4c7e7ed675c3bf405668739c3012d140856109 (patch) | |
tree | cdd868dba063fecba609a1d819de271f0d51b23e /taskcluster/gecko_taskgraph/transforms/build_attrs.py | |
parent | Adding upstream version 125.0.3. (diff) | |
download | firefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip |
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'taskcluster/gecko_taskgraph/transforms/build_attrs.py')
-rw-r--r-- | taskcluster/gecko_taskgraph/transforms/build_attrs.py | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/taskcluster/gecko_taskgraph/transforms/build_attrs.py b/taskcluster/gecko_taskgraph/transforms/build_attrs.py index 9cda71718a..fda9888fe1 100644 --- a/taskcluster/gecko_taskgraph/transforms/build_attrs.py +++ b/taskcluster/gecko_taskgraph/transforms/build_attrs.py @@ -4,8 +4,6 @@ from taskgraph.transforms.base import TransformSequence -from gecko_taskgraph.util.platforms import platform_family - transforms = TransformSequence() @@ -34,17 +32,3 @@ def set_build_attributes(config, jobs): ) yield job - - -@transforms.add -def set_schedules_optimization(config, jobs): - """Set the `skip-unless-affected` optimization based on the build platform.""" - for job in jobs: - # don't add skip-unless-schedules if there's already a when defined - if "when" in job: - yield job - continue - - build_platform = job["attributes"]["build_platform"] - job.setdefault("optimization", {"build": [platform_family(build_platform)]}) - yield job |