Skip to content

Commit beb0f9e

Browse files
authored
normalize_triplet: Recognize Darwin AArch64 (#37338)
We now have a BB shard for this architecture. Update normalize triplet to be able to use it.
1 parent 21ff6ee commit beb0f9e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/normalize_triplet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
arch_mapping = {
1313
'x86_64': '(x86_|amd)64',
1414
'i686': "i\\d86",
15-
'aarch64': "aarch64",
15+
'aarch64': "(arm|aarch)64",
1616
'armv7l': "arm(v7l)?",
1717
'powerpc64le': "p(ower)?pc64le",
1818
}
@@ -117,6 +117,7 @@ def p(x):
117117
"8": "libgfortran5",
118118
"9": "libgfortran5",
119119
"10": "libgfortran5",
120+
"11": "libgfortran5",
120121
}[list(filter(lambda x: re.match("\d+\.\d+(\.\d+)?", x), sys.argv[2].split()))[-1].split('.')[0]]
121122

122123
if cxx_abi == "blank_cxx_abi":

0 commit comments

Comments
 (0)