зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1677550: Native ARM64 Mac Nightly Fails to Update. r=aki a=Aryx
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
This commit is contained in:
Родитель
1eba664ba7
Коммит
a1f9762cc9
|
@ -23,6 +23,8 @@ _BCJ_OPTIONS = {
|
|||
"x86": ["--x86"],
|
||||
"x86_64": ["--x86"],
|
||||
"aarch64": [],
|
||||
# macOS Universal Builds
|
||||
"macos-x86_64-aarch64": [],
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ _executable_extension = {
|
|||
_architectures = {
|
||||
r"linux\b.*": "x86",
|
||||
r"linux64\b.*": "x86_64",
|
||||
r"macosx64\b.*": "x86_64",
|
||||
r"macosx64\b.*": "macos-x86_64-aarch64",
|
||||
r"win32\b.*": "x86",
|
||||
r"win64\b(?!-aarch64).*": "x86_64",
|
||||
r"win64-aarch64\b.*": "aarch64",
|
||||
|
|
Загрузка…
Ссылка в новой задаче