Skip to content

Commit

Permalink
updated the documentation of the build for the mac (VKCOM#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danil42Russia authored Sep 15, 2022
1 parent 0b6df76 commit 16b1518
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ url_package_curl: https://github.com/VKCOM/curl/tree/dpkg-build-7.60.0
url_package_h3: https://github.com/VKCOM/uber-h3/tree/dpkg-build
url_package_epoll_shim: https://github.com/VKCOM/epoll-shim/tree/osx-platform
url_package_timelib: https://github.com/VKCOM/timelib/tree/master
url_package_h3_mac: https://github.com/uber/h3/tree/stable-3.x

copyright:
revision: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ apt install git cmake make g++ gperf python3-minimal python3-jsonschema \
##### MacOS with Intel chipset
Make sure you have `brew` and `clang` (at least `Apple clang version 10.0.0`)
```bash
brew install re2c cmake coreutils glib-openssl libiconv re2 fmt h3 yaml-cpp mysql msgpack-cxx zstd googletest [email protected]
brew install re2c cmake coreutils glib-openssl libiconv re2 yaml-cpp mysql msgpack-cxx zstd googletest [email protected]
brew link --overwrite [email protected]
pip3 install jsonschema
```
Expand All @@ -90,6 +90,15 @@ git checkout osx-platform
echo 'export "EPOLL_SHIM_REPO=$(pwd)" >> ~/.bash_profile'
```

Clone somewhere local [h3 from Github]({{site.url_package_h3_mac}}) and switch to *stable-3.x* branch.
```bash
git clone https://github.com/uber/h3.git
git checkout stable-3.x
mkdir build
cd build
cmake ..
sudo make install
```

##### MacOS with Apple M1 chipset

Expand Down

0 comments on commit 16b1518

Please sign in to comment.