Skip to content

[Feature] Gitversion support for apple silicon #2668

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

Closed
iamNoah1 opened this issue Apr 19, 2021 · 10 comments
Closed

[Feature] Gitversion support for apple silicon #2668

iamNoah1 opened this issue Apr 19, 2021 · 10 comments

Comments

@iamNoah1
Copy link

I would like to use gitversion on my apple silicon.

Installing using brew gives me: Error: dotnet: no bottle available!

Try to use the docker image gives me:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Failed to create CoreCLR, HRESULT: 0x8007FF06
@arturcic
Copy link
Member

Unfortunately we currently do not support the new silicon. Even though there is some level of support for ARM provided by Libgit2sharp, but we do not support it official

@iamNoah1
Copy link
Author

Any plans on supporting it in the future?

@arturcic
Copy link
Member

I think we should support it in long term, the issue is we are not able to build it in GitHubAction or AzurePipelines at the moment. When that is available we could add support for the M1

@arturcic arturcic changed the title [Bug] Gitversion support for apple silicon [Feature] Gitversion support for apple silicon Apr 20, 2021
@jshinevar
Copy link

I have not tried this yet, but here is the full error I see from homebrew:

Error: gitversion: no bottle available! You can try to install from source with: brew install --build-from-source gitversion Please note building from source is unsupported. You will encounter build failures with some formulae. If you experience any issues please create pull requests instead of asking for help on Homebrew's GitHub, Twitter or any other official channels.

Has anyone tried using the --build-from-source? Were you successful?

@asbjornu
Copy link
Member

asbjornu commented May 27, 2021

Support for M1 in .NET 6 is underway, but still far from complete. Until both .NET and LibGit2Sharp have full support for M1, GitVersion won't be able to provide full support for M1.

@andymac4182
Copy link

For me I need to run the arm64 version with docker which is supported in dotnet as far as I am aware.

It would be great if there could be a arm64 docker image. https://docs.docker.com/desktop/multi-arch/

@MuhKuh7
Copy link

MuhKuh7 commented Jan 4, 2022

any updates on this one?

@arturcic
Copy link
Member

arturcic commented Jan 4, 2022

@MuhKuh7 actually it should already support osx-arm64 starting with 5.8.1 https://github.com/GitTools/GitVersion/releases/tag/5.8.1

@arturcic arturcic closed this as completed Jan 4, 2022
@MuhKuh7
Copy link

MuhKuh7 commented Jan 4, 2022

@arturcic thx, will 5.8.1 be available on homebrew (https://formulae.brew.sh/formula/gitversion) soon?

@arturcic
Copy link
Member

arturcic commented Jan 4, 2022

unfortunately for the homebrew we ned to have the dotnet formula for version 6.0, that's something @asbjornu was working on. So for now no, you can only use the tar.gz version for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants