-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support ARM architecture #156
Comments
Hi Scott, Thank you for reporting this issue, I don't have a Mac to test on but we usually have @janakarana run the MCCL on his Mac to make sure it is working correctly. As far as I know we have not modified the architecture that we use to create the zip file, is that the version you tried or were you building using BuildTestRelease? We did modify this file to allow us to create zip files for the libraries to include in the Python repository but the main MCCL BuildTestRelease should be the same as it as for version 10. Are you suggesting that we change the publish for Mac from osx-x64 to osx-arm64? |
Hi Lisa, This is just about getting the MCCL binary to work on the ARM architecture. I am not sure how this will affect the .dlls that need to be created. I suggest adding three new releases: osx-arm64, linux-arm64, and win-arm64. Keep the existing ones. I added these build targets to the All binaries built on my ARM-based Mac. When I ran
at the end the
and
|
I will discuss with @hayakawa16 this week about possibly adding all the architectures, do you think we need to do the same for the libraries used in the Python repository also? Just a quick comment, the files in the "local" folder should have the architecture of the computer that is running BuildTestRelease, does that version of MCCL work for you also? |
The binary I modified When you compile a .NET application, the code is not directly compiled into machine code. Instead, it is compiled into an Intermediate Language (IL), sometimes referred to as Common Intermediate Language (CIL) or Microsoft Intermediate Language (MSIL). IL is a CPU-independent set of instructions that can be efficiently converted to native code. This means that you probably only need one zip file for scripting! |
@scottprahl Thank you for doing that! That's good to know. |
Is your feature request related to a problem? Please describe.
I successfully built version 11 on a M3 Mac. However running
mc
leads toI somehow fixed this when running v10, but I don't have the time to track the solution down now.
Describe the solution you'd like
All Apple devices would work better if the ARM architecture was supported. Obviously, including Android tablets running ARM would
Describe alternatives you've considered
Using
Rosetta
was the old solution, but is suboptimal.Additional context
Perhaps this could combined with the transition to
.NET 8
? As you know,.NET 6
reaches end of support on Nov 12, 2024The text was updated successfully, but these errors were encountered: