Documentation changes for macOs build

This commit is contained in:
SayeedKhan21 2024-10-20 05:39:11 +00:00 committed by Sayeed Khan
parent fc31ec4404
commit f7023d2f20

View File

@ -35,6 +35,10 @@ sudo xcode-select --install
## Install Required Compilers, Tools, and Libraries {#install-required-compilers-tools-and-libraries}
:::note
Make sure to use older versions of LLVM (e.g. `brew install llvm@17` or `brew install llvm@18`), as the latest versions may cause errors during the build process.
:::
``` bash
brew update
brew install ccache cmake ninja libtool gettext llvm gcc binutils grep findutils nasm
@ -42,6 +46,11 @@ brew install ccache cmake ninja libtool gettext llvm gcc binutils grep findutils
## Checkout ClickHouse Sources {#checkout-clickhouse-sources}
:::note
Clickhouse uses case-insensitive file system by default which may cause errors during build process , hence follow these [instructions](https://brianboyko.medium.com/a-case-sensitive-src-folder-for-mac-programmers-176cc82a3830) to create new disk image and set up your project in it . Make sure to navigate to newly created folder before proceeding
:::
``` bash
git clone --recursive git@github.com:ClickHouse/ClickHouse.git
# ...alternatively, you can use https://github.com/ClickHouse/ClickHouse.git as the repo URL.