-
Notifications
You must be signed in to change notification settings - Fork 51
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
Mac support with M1 processor (darwin, arm64) #56
Comments
Can I help? I am at ease with CMake and GitHub Actions. |
FYI it compiles well on Mac, all we need is a release. |
Yes, you can definitely help. Modifying the azure pipeline to harvest and publish the binary artifacts would be the simplest change at the end. The hard part is to change the build scripts, so they produce the arm binaries. You can see the The pipeline then runs over there: https://dev.azure.com/schlumberger/ai-planning-validation/_build?definitionId=2 |
Sorry but I cannot find that file. Could you provide me a link to it? |
Oh, my bad. I did not realize the pipeline file was only in my fork. Looking closer, it was work I started and did not finish. It only includes the build job for linux and windows (targeting linux build machine). But it would eventually include the MacOS job too. The build pipeline that we currently run on Azure DevOps is using the infrastructure that predates yaml. Nevertheless, what is needed for the M1 processor binaries is a build script first. Adding it to the pipeline would just mean calling the new script from using an additional task in the pipeline. Like what you can see on the line 17. |
Alright, I've put myself on it, but... Microsoft-hosted Azure agents for Mac OS do not seem to be running on M1 processors:
Knowing that M1 processors have many more CPU cores, this hardware is certainly x86_64. GitHub runners have the same hardware specs, btw, and they are explicit on the architecture being x86_64. I checked However I can think of Conan and ConanCenter, which are dedicated to distribute portable native binaries to every platform. They do produce MacOS arm64 releases, and VAL could be distributed there too. Another big advantage of Conan is that if the binary is missing, it has access to all the recipes to rebuild it for the current host. |
@victorpaleologue are you saying that the script scripts/build_macos.sh produces binaries that you can run on the new shiny Mac? Yes the pipeline can be fixed eventually. Looks like Microsoft is working on the sup6 for M1 build machines. I am not against an alternative build and download location. Ad long as the platform specific binaries can be downloaded from a fixed url. Ideally the version should ge part of the url too. |
Yes, running the script on a new shiny Mac builds a binary compatible with new shiny Macs. But the ones that come out of the pipeline, built on older-but-perhaps-still-shiny Macs, are not compatible.
Ok. I could publish my release someplace that won't move, but building manually next versions would be annoying. IMO it has to be automated, and rely on a machine dedicated for that. So I'd rather wait for Microsoft's support... |
I think the shine has come off the Macs.
…________________________________
From: Victor Paléologue ***@***.***>
Sent: 03 August 2022 09:22
To: KCL-Planning/VAL ***@***.***>
Cc: Long, Derek ***@***.***>; Comment ***@***.***>
Subject: Re: [KCL-Planning/VAL] Mac support with M1 processor (darwin, arm64) (Issue #56)
@victorpaleologue<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvictorpaleologue&data=05%7C01%7Cderek.long%40kcl.ac.uk%7Cbe1d2bc8bf8b4862ba8f08da75295b05%7C8370cf1416f34c16b83c724071654356%7C0%7C0%7C637951117724245016%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=f4MPe36nui%2BSX3sb3dS5Bkxr%2BoTMYU7W%2FNc8WCZDQ%2Bw%3D&reserved=0> are you saying that the script scripts/build_macos.sh produces binaries that you can run on the new shiny Mac? Or only if you run the build locally, while the macos binaries that come out of the pipeline are not compatible?
Yes, running the script on a new shiny Mac builds a binary compatible with new shiny Macs. But the ones that come out of the pipeline, built on older-but-perhaps-still-shiny Macs, are not compatible.
Yes the pipeline can be fixed eventually. Looks like Microsoft is working on the sup6 for M1 build machines.
I am not against an alternative build and download location. Ad long as the platform specific binaries can be downloaded from a fixed url. Ideally the version should ge part of the url too.
Ok. I could publish my release someplace that won't move, but building manually next versions would be annoying. IMO it has to be automated, and rely on a machine dedicated for that. So I'd rather wait for Microsoft's support...
—
Reply to this email directly, view it on GitHub<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FKCL-Planning%2FVAL%2Fissues%2F56%23issuecomment-1203639560&data=05%7C01%7Cderek.long%40kcl.ac.uk%7Cbe1d2bc8bf8b4862ba8f08da75295b05%7C8370cf1416f34c16b83c724071654356%7C0%7C0%7C637951117724245016%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=vqgOOxr3dAV8EGfbtDmxr7rDjW%2Beiokyk%2BD6ePQ7Ezw%3D&reserved=0>, or unsubscribe<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB2KOVGOQ7SG2YTEJCGOUL3VXIT5TANCNFSM5Y7HUIBA&data=05%7C01%7Cderek.long%40kcl.ac.uk%7Cbe1d2bc8bf8b4862ba8f08da75295b05%7C8370cf1416f34c16b83c724071654356%7C0%7C0%7C637951117724245016%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=VnDxh81IyN9hZbzYa2S7JyNaYkpLYD6ZFOKUP8MVG%2B8%3D&reserved=0>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Any updates on this so far? |
Azure support for arm64-powered MacOS has not changed. |
Would you be interested by having it available through Conan? |
Still no change. If someone wants a manual release, let me know. |
A manual release would be welcome! Thanks |
There it is. |
my Norton antivirus have intercepted pdf file from pdf file from val--Darwin.tar.gz, it seems this file is not safe :/ |
When using the VSCode PDDL extension, I am given the opportunity to download and configure a pre-built VAL tool. The matching binary is not found for my platform: Mac OS on an M1 processor (darwin, arm64).
I reported the issue there jan-dolejsi/vscode-pddl#127, however I feel like this issue is that the VAL release for that platform is missing.
The text was updated successfully, but these errors were encountered: