From ff8c4e1b34b7d54439655d23806d14c44b9e9d79 Mon Sep 17 00:00:00 2001 From: Thad House Date: Sat, 21 Nov 2020 12:21:37 -0800 Subject: [PATCH] Fix Armel crossgen failing during pack Armel was not treated like arm or arm64, causing the wrong folders to be used during crossgen --- Directory.Build.props | 1 + src/coreclr/crossgen-corelib.proj | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Directory.Build.props b/Directory.Build.props index 39f4a030f1479..76f40674efe9a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -25,6 +25,7 @@ <_hostArch>$([System.Runtime.InteropServices.RuntimeInformation]::ProcessArchitecture.ToString().ToLowerInvariant) $(_hostArch) arm + armel arm64 wasm x64 diff --git a/src/coreclr/crossgen-corelib.proj b/src/coreclr/crossgen-corelib.proj index 5de60badfa307..8687641d08632 100644 --- a/src/coreclr/crossgen-corelib.proj +++ b/src/coreclr/crossgen-corelib.proj @@ -24,7 +24,7 @@ - x64 + x64 x86 $(BuildArchitecture) @@ -95,7 +95,9 @@ $(CrossGen1Cmd) /CreatePerfMap "$(BinDir)" $(CrossGenPerfMapCmd) "$(CoreLibOutputPath)" + + $(VsSetupCmd) $(CrossGen1Cmd) /CreatePdb "$([MSBuild]::NormalizePath('$(BinDir)', 'PDB'))" $(CrossGenPdbCmd) "$(CoreLibOutputPath)"