[Question]: Any plan for adding support for Mac with M1 processors?
Closed this issue · 7 comments
Describe the question or issue
Hello,
Everything is in the title. Do you have plan to support Mac computers that have M1 processors?
My work computer is a Mac M1 so I want to know if I need to find an alternative to this module or not. :)
PowerShell version
Other
Platform
MacOS
The restriction is the MySQLite module which currently only supports Windows. There is a MacOS binary for SQLite, so I think, technically I could get this to work. Maybe this would justify buying a MBP so I can test. That said, if you want to look at https://github.com/jdhitsolutions/MySQLite and come up with a PR that supports MacOS and Linux, I'd certainly welcome it.
That said, I just looked again at the pre-compiled Mac binaries and I only see x86. A quick search found this: https://sqlitebrowser.org/blog/apple-silicon-macos-package-available/ but I have no way of testing. But I am open to a PR for MySQLite that adds non-Windows support.
I can't promise anything as I'm all new with macOS but I will at least take a look at the SQLite binaries and see if they work well on a M1 Mac. After that, I will see how I can add it to the MySQLite module and do a PR.
I might need some guidance on that second part as I have never done such thing related to PowerShell modules.
Bonus question: what are the requirements for SQLite? Do you have a min or max version that should be bundled?
I don't think there are any minimum requirements for SQLite. I'm trying to include the latest stable version of the assemblies.
I have updated the mySQLite
module to support Linux-x64. I'm hoping for a PR to add MacOS support.
I tried to get it working on macOS but that's above my skills unfortunately. :(
It will require someone to compile the SQLite assemblies for the M2 processor if that is even possible.
Closing for now since there's nothing I can do unless someone creates a compatible mySQL binary for Apple silicon.