Train kernel-service on M1 Macs

R=kustermann@google.com

Change-Id: I542a7dfb3987d7e66ffe4fb8b5cd75a3f7674bd1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/305741
Commit-Queue: Slava Egorov <vegorov@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
This commit is contained in:
Vyacheslav Egorov
2023-05-25 14:38:54 +00:00
committed by Commit Queue
parent 8b8d063679
commit fc6eb985cd
+3 -1
View File
@@ -88,7 +88,9 @@ declare_args() {
# We create a kernel service app-jit snapshot only for when the target
# architecture is x64 for other cases we will use the '.dill' file
# which is already linked in the VM.
create_kernel_service_snapshot = dart_target_arch == "x64"
create_kernel_service_snapshot =
dart_target_arch == "x64" ||
(dart_target_arch == "arm64" && target_os == "mac")
# The analyze_snapshot tool is only supported on 64 bit AOT builds that use
# ELF.