conda-forge / dotnet-feedstock

A conda-smithy repository for dotnet.
BSD 3-Clause "New" or "Revised" License
4 stars 5 forks source link

dotnet on ARM32 and ARM64 #27

Closed johnwason closed 3 years ago

johnwason commented 3 years ago

The dotnet conda-forge packages do not currently support ARM32 and ARM64. Binaries are available from Microsoft to support these architectures. It would be helpful to IoT applications if these architectures were included in conda-forge.

acesnik commented 3 years ago

There's osx_arm64 for macOS with ARM64 and aarch64 for Linux with ARM64, but I haven't come across any such tags for Windows with ARM64 or ARM32. Does anyone know what they are or if they exist?

acesnik commented 3 years ago

The Linux ones should be fairly easy to package. 👍🏼

johnwason commented 3 years ago

Oh sorry I was referring to ARM64 Linux, which would be aarch64. Having the armhf package would also be helpful, although I guess conda-forge doesn't officially support it.

The Windows ARM64 is here: https://dotnet.microsoft.com/download/dotnet/thank-you/sdk-5.0.202-windows-arm64-installer

I don't have an ARM64 Windows device so I can't test it.

acesnik commented 3 years ago

I gave it a shot in those PRs. I skipped the lttng-ust dependency for aarch64, which I don't know if appropriate, but it does look like dotnet gives signs of life without it. If that doesn't work, we may need to find a way to get the lttng-ust packaged for aarch64.

acesnik commented 3 years ago

Merged those two PRs but let us know if you run into trouble regarding lttng-ust. I don't have an ARM64 Linux machine to test it out.

johnwason commented 3 years ago

I will try it on a raspi 4 today.

johnwason commented 3 years ago

I tested some basic programs on a raspi 4 and they seem to work fine. I'll let you know if I run in to any errors in the future.