Skip to content

Commit a2f72ed

Browse files
authored
[compiler-rt] [test] Don't apply the "arm" or "armhf" patterns for targets starting with "arm64" (#141226)
This fixes finding the builtins library for arm64ec in tests. This matches a corresponding condition added in cmake in 3764ba2.
1 parent 9502d1b commit a2f72ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/lit.common.configured.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ elif config.android:
6969
else:
7070
set_default("target_suffix", "-%s-android" % config.target_arch)
7171
else:
72-
if config.target_arch.startswith("arm"):
72+
if config.target_arch.startswith("arm") and not config.target_arch.startswith("arm64"):
7373
if config.target_arch.endswith("hf"):
7474
set_default("target_suffix", "-armhf")
7575
else:

0 commit comments

Comments
 (0)