How to Build ClickHouse on Linux for Mac OS X
The cross-build for Mac OS X is based on the Build instructions, follow them first.
Let’s remember the path where we install cctools
as ${CCTOOLS}
The resulting binary will have a Mach-O executable format and can’t be run on Linux.