17b5d95d8b
With this commit, I can build core-sdk on RHEL 8 on arm64 directly, without cross compilation. Bump the sourcelink version to pick up the ability to parse git info without depending on libgit2sharp. This allows sourcelink to work on arm64. The version is the same as the one recently added to core-setup: https://github.com/dotnet/core-setup/pull/7696 Introduce a new 'BuildArchitecture' msbuild property that contains the host architecture (arm64, x64, etc). This is the architecture of the currently running machine, and may be different from the architecture we are targetting in the case of cross compilation. There's a gotcha with BuildArchitecture: under Visual Studio (an x86) process, we generally want a x64 architecture. So try and restrict it to arm64 only. Use BuildArchitecture to determine whether _crossDir and LibCLRJitRid need to be special-cased for arm64 or or not. |
||
---|---|---|
.. | ||
common | ||
docker | ||
_prettyprint.sh | ||
build.yml | ||
configure-toolset.ps1 | ||
configure-toolset.sh | ||
CopyToLatest.cmd | ||
core-sdk-build-env.sh | ||
core-sdk-test-env.bat | ||
core-sdk-test-env.sh | ||
dockerrun.ps1 | ||
dockerrun.sh | ||
Key.snk | ||
Publishing.props | ||
restore-toolset.ps1 | ||
restore-toolset.sh | ||
setbuildinfo.bat | ||
setbuildinfo.sh | ||
Signing.props | ||
TestVersions.props | ||
Version.Details.xml | ||
Versions.props |