MontrealCorpusTools / PolyglotDB

Language data store and linguistic query API
MIT License
38 stars 14 forks source link

Add Apple silicon support #169

Closed msonderegger closed 2 months ago

msonderegger commented 2 years ago

Installation currently doesn't work on OS X with Apple Silicon processor, which is now the default on most new Apple machines.

My system info:

Screen Shot 2022-04-20 at 9 40 15 AM

The issue has to do with the Homebrew steps in pgdb, because Homebrew works differently by default on Macs with Intel processors (old default) and M1 / Apple Silicon (new default). See here : "Homebrew installs files into the /opt/homebrew/ folder".

I got installation to work by making these changes in pgdb :

Screen Shot 2022-04-20 at 9 42 51 AM

But pgdb should probably do this automatically:

msonderegger commented 2 years ago

@michaelhaaf ?

michaelhaaf commented 2 years ago

I should be able to incorporate this into https://github.com/MontrealCorpusTools/PolyglotDB/pull/167 pretty easily once that's finished