PolyglotDB icon indicating copy to clipboard operation
PolyglotDB copied to clipboard

Add Apple silicon support

Open msonderegger opened this issue 3 years ago • 2 comments

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:

  • check if this is an Apple Silicon processor
  • if so, change how influxdb is installed

msonderegger avatar Apr 20 '22 13:04 msonderegger

@michaelhaaf ?

msonderegger avatar Apr 20 '22 13:04 msonderegger

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

michaelhaaf avatar Apr 20 '22 17:04 michaelhaaf