Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable hosted builds on arm64 #4102

Merged
merged 1 commit into from Nov 7, 2019
Merged

Commits on Oct 31, 2019

  1. Enable building on arm64 machines

    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:
    dotnet/core-setup#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.
    omajid committed Oct 31, 2019
    Configuration menu
    Copy the full SHA
    29921e2 View commit details
    Browse the repository at this point in the history