Support for Mac M1?

Hi all, I’m considering getting a new Mac with the ARM M1 processor, and wondered if anyone has tried out GMT on that system? Any insight on whether it can run from the existing binary (presumably via Rosetta 2), or even better, be compiled natively? Thanks!

I got an iMac mini M1. GMT compiles fine. However, at least under MacPorts, GDAL fails because it depends on the GEOS library and that library fails to compile. It has been reported all the way [https://trac.macports.org/ticket/61821] but no action yet. I do not know if, say, homebrew has bypassed this bug somehow. I suspect many of the developers have no access to M1 yet so a bit of a slow response, and also over the holidays.

I’m also considering purchasing a new MacBook Pro with M1, but haven’t made the decision yet.

It seems that Homebrew still only has partial support for M1, and they recommend running Homebrew using Intel emulation with Rosetta 2.

You all know the history.

Wait for M2 :kissing_smiling_eyes:

@Joaquim you are right, I’m just impatient! If everything runs under Rosetta, that sounds like it’s about as good as a 2020 Intel mac anyway, so that’s probably a good workaround for now.

@pwessel does gdal run under Rosetta at least?

I do not know. I guess you would hvae to install a binary version built with Intel and see what happens.

The Homebrew formulae page lists GMT as not available under M1 (arm64_big_sur), but it does appear to have gdal and geos support… maybe it’s getting close? https://formulae.brew.sh/

Perhaps someone needs to submit a pull request to rebuild GMT. I’ll do it when I find some time.