Is it expected that cli can be built on ARM?
See original GitHub issueI was under the impression that I could build this on ARM (as is @shanselman), however I’ve been unable to make it work. The first step of build.sh
seems to be to download a binary rather than build and that seems to be an x86 binary.
I found dotnet/sdk#5310 but it’s not clear it that was about binaries or building from source (it sounds like the poster was trying to build, but the subject suggests he wanted binaries).
Is it supposed to be possible to build on ARM, or is this also unsupported?
Steps to reproduce
- Clone repo on Arm machine (eg. Raspberry Pi)
- Execute
build.sh
Expected behavior
Build with no errors.
Actual behavior
Error when executing dotnet restore
Environment data
dotnet --info
output:
dotnet
does not run
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:46 (23 by maintainers)
Top Results From Across the Web
Is it expected that cli can be built on ARM? #5784
I think manually building coreclr on arm and using that build to built this repo can be made possible. But i think to...
Read more >Stop using ARM templates! Use the Azure CLI instead
ARM templates can be executed in Complete deployment mode, which means only the resources and configuration in the ARM template is the truth...
Read more >How to Compile for ARM M-series Chips from the ...
Just drag and drop that from your downloads folder into the USB device in the Finder and the board will reboot and run...
Read more >Download CLI for ARM 64 bit (aarch64) : r/Bitwarden
Hi, I cannot find a link to download the latest Bitwarden CLI for Linux on ARM 64 bit (aarch64). It seems that the...
Read more >Smartthings/cli - Support
Update: @Delgreco007, the team mentioned the failure of the commands is expected because it is not currently built for ARM. However, the CLI ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was actually thinking about trying to enable dotnet on ARM… CoreClr on ARM works and the cli itself does not have a lot awful of native code.
coreclr has made very good progress on linux arm , thanks to contributions from the community. People from the community are tracking the progress here. https://github.com/dotnet/coreclr/issues/3977
I think manually building coreclr on arm and using that build to built this repo can be made possible. But i think to make cli functional on linux will also need some changes to corefx, mainly publishing linux arm version of native bits published to the nuget feeds.
The actual native code work required was in coreclr which is very near to complete as can be seen from the arm progress issue i linked.