projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a5f70
)
Add hack for arm64/x86 to skip build tools restore (#20390)
author
Jarret Shook
<jashoo@microsoft.com>
Wed, 17 Oct 2018 01:26:56 +0000
(18:26 -0700)
committer
GitHub
<noreply@github.com>
Wed, 17 Oct 2018 01:26:56 +0000
(18:26 -0700)
* Add hack for arm64/x86 to skip build tools restore
* Address pr feedback
* Correct PROCESSOR_ARCHITEW6432 comparison
init-tools.cmd
patch
|
blob
|
history
diff --git
a/init-tools.cmd
b/init-tools.cmd
index
9b3a0c7
..
e1aaf87
100644
(file)
--- a/
init-tools.cmd
+++ b/
init-tools.cmd
@@
-86,7
+86,11
@@
if NOT exist "%DOTNET_LOCAL_PATH%" (
:afterdotnetrestore
REM We do not need the build tools for arm64/x86
-if /i "%_Arch%" == "x86" (
+if /i "%PROCESSOR_ARCHITEW6432%" == "arm64" (
+ goto :EOF
+)
+
+if /i "%PROCESSOR_ARCHITECTURE%" == "arm64" (
goto :EOF
)