Skip to content

Commit 7a64111

Browse files
committed
Bug 1677550: Native ARM64 Mac Nightly Fails to Update r=aki
This patch adjusts the BCJ options for macOS builds to avoid using optimizations that only work on x86/x86_64. Differential Revision: https://phabricator.services.mozilla.com/D97196
1 parent 3c1fe40 commit 7a64111

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

python/mozbuild/mozbuild/repackaging/mar.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
"x86": ["--x86"],
2424
"x86_64": ["--x86"],
2525
"aarch64": [],
26+
# macOS Universal Builds
27+
"macos-x86_64-aarch64": [],
2628
}
2729

2830

taskcluster/taskgraph/util/platforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
_architectures = {
3030
r"linux\b.*": "x86",
3131
r"linux64\b.*": "x86_64",
32-
r"macosx64\b.*": "x86_64",
32+
r"macosx64\b.*": "macos-x86_64-aarch64",
3333
r"win32\b.*": "x86",
3434
r"win64\b(?!-aarch64).*": "x86_64",
3535
r"win64-aarch64\b.*": "aarch64",

0 commit comments

Comments
 (0)