mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 18:07:17 +01:00
9da6ee3b5f
* m1 clickhouse support * add clickhouse arm64 compilation dockerfile * use clang-12 and 2 parallel builds * working clickhouse docker image * this needs to be committed out for CH to work... a known issue. WIP * move things around * move things around again * add arm64 build scripts * comment out broken line in DEBUG mode, still make it break production builds * update readme * timeless text * add issue in comment * way way way too much white space * zookeeper restarts sometimes needed
674 B
674 B
Clickhouse on ARM64 (Apple Silicon)
This package compiles ClickHouse from scratch to work on an Apple Silicon mac, with protobuf support.
To build, run ./build.sh
and then use the generated clickhouse-dev-arm64:latest
image however you please.
NB! It takes over an hour to build ClickHouse on a M1 mac. Make sure to give at least 8GB of RAM to Docker for the build. It'll fail otherwise. Set it back to 2GB after. You may also need to increase your docker volume size. The default 60GB wasn't enough for me, though I had a lot of other stuff in there as well.
The built image is currently around 30GB.