Open ChristianWeyer opened 1 year ago
The project is not publishing Apple M1 packages yet.
OK, thanks. What would it take to build it on my own? Might that be feasible?
I tried Linux a while back and it was hard (for me at least) because introducing the LLVM headers brings complications, MacOS might be the same. Windows Arm64 might be easier, unfortunately I don't have a device to test with.
Are there any plans, timewise, to add arm64 for macOS and Windows @jkotas ?
No firm plans, this is experimental project. The focus is to make it work well on a few host architectures rather than expanding the set of host architectures that it can run on.
Arm64 host packages may get enabled as side-effect of @yowl's work on integrating upstream. (In any case, integrating more of upstream is likely a pre-requisite for enabling the arm64 builds.)
When trying to publish the Hello World project (https://github.com/dotnet/runtimelab/tree/feature/NativeAOT-LLVM/samples/HelloWorld) for WebAssembly target on my Apple MBP M1 Max, with this command:
dotnet publish -r browser-wasm -c Debug /p:TargetArchitecture=wasm /p:PlatformTarget=AnyCPU /p:MSBuildEnableWorkloadResolver=false --self-contained
I get the following error:
However, there seems to be no such package. If I add this to my .csproj:
<PackageReference Include="Microsoft.DotNet.ILCompiler.LLVM; runtime.osx-arm64.Microsoft.DotNet.ILCompiler.LLVM" Version="7.0.0-*" />
and try to restore, this is the resulting error:
I also tried to run this via Rosetta, but got the same result.
Maybe I am missing some instructions on how to get it working on
osx-arm64
?Thanks for any further hints 🙂.