-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Maintenance: Updated Supported MacOS versions #891
Maintenance: Updated Supported MacOS versions #891
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we even support ARM architecture? I have an M1 I can try and test on, though it might take me a while to do it.
We haven't setup runners to try. But all new Mac's will be ARM-based so it's be good to find out |
- move the bootstrapping of MacOS into a script so it's easier to see what is going on and customize it for the various MacOS releases
Two comments:
|
- Homebrew is utilized for dependencies on MacOS. Update the Path and build variables to point at/include the Homebrew environments - Note which versions of MacOS that are no longer supported and terminate the script early so the build pipeline will fail too NOTE: The previous method used some symlinks to update the OpenGL install; however, it's installed under Homebrew now so including Homebrew should fix things better and more reliably.
@royfalk so we started supporting building for MacOS on 0.9.x; we were going to target having an official installer for MacOS with 0.10.x. However, I do agree that we need to scale it back a little. For that - we should probably continue with having a build available so the community has something to test. Let's see how this PR goes and if we can get builds working. If so, then we'll just keep it at that until the community can test more and let us know where bugs are. If it does prove to be too hard to keep it going we'll drop the build support until someone comes along to specifically maintain it too. Fair? |
Set the Python Environment Variables to point to the Homebrew install; and detect which version of Python is being used.
- Boost uses Python 3.12 but the system has 3.13 installed. - just installing python@3.12 doesn't fix the build
@BenjamenMeyer yeah, the Python versions on macOS are a mess. I've had so much trouble with those in the past. Good luck. Hopefully you can get it to work. It's probably better to use whatever version of Python is already installed on the Mac runner machine (if any), rather than try to force-install a specific version all the time. It looks like that might be what you're trying to do with the last few commits. |
Alternatively, perhaps do a Homebrew keg-only install of the desired Python version, and use that. That way you're not messing up the macOS system-wide installs for other users of the same runner. |
@stephengtuggy thanks for the insight. Yeah, it's a matter of which version of Python Boost links to. And I think it's mixed or something. Not sure. I don't have a Mac myself I can play with locally to test so having to debug via the runners. More trying to set the environment right so Cmake will use the right set of libraries. homebrew python3 is newer than what homebrew boost-python links with and it's causing an issue from what I can tell. |
I just reviewed the PR again and it still looks good (except it fails). |
I seem to be making some headway, over on the 0.9.x side of things! My in-progress changes are here . |
Thanks @stephengtuggy for pointing out the Python GHA and a couple other settings that may help out.
- For MacOS set the CMake Find Framework to Last - For MacOS set the more specific Python Version; it's that for all the OS versions anyway
Code Changes: