From 57bde1c54c36f8387741557877e2e20161f0e1e8 Mon Sep 17 00:00:00 2001
From: Jeremy Sinclair <4016293+snickler@users.noreply.github.com>
Date: Thu, 15 Dec 2022 18:40:29 -0500
Subject: [PATCH] [ARM64][Build] Prefer Arm64 Build Tools when building from
Arm64 devices (#22792)
* Set PreferredToolArchitecture to arm64 if Arm64 processor
---
.github/actions/spell-check/expect.txt | 1 +
Cpp.Build.props | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/actions/spell-check/expect.txt b/.github/actions/spell-check/expect.txt
index 1222c66e66..4888a1efba 100644
--- a/.github/actions/spell-check/expect.txt
+++ b/.github/actions/spell-check/expect.txt
@@ -76,6 +76,7 @@ appxpackage
APSTUDIO
AQS
Aqtobe
+ARCHITEW
arcosh
ARemapped
argb
diff --git a/Cpp.Build.props b/Cpp.Build.props
index 9e27f822aa..14ef3a7645 100644
--- a/Cpp.Build.props
+++ b/Cpp.Build.props
@@ -39,6 +39,7 @@
x64
+ arm64
false
$(MSBuildThisFileFullPath)\..\deps\;$(MSBuildThisFileFullPath)\..\packages\;$(ExternalIncludePath)
@@ -119,4 +120,4 @@
false
-
\ No newline at end of file
+