From f7f47ce63c079ad1a0ca81f9e1a03a0506c80024 Mon Sep 17 00:00:00 2001 From: lino-levan <11367844+lino-levan@users.noreply.github.com> Date: Tue, 14 Nov 2023 18:55:28 -0800 Subject: [PATCH] docs(build): add mac os instructions --- contribution/build.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/contribution/build.md b/contribution/build.md index df7376fb..3ab284a0 100644 --- a/contribution/build.md +++ b/contribution/build.md @@ -44,7 +44,23 @@ just build ## MacOS --- TODO -- +1. Install xcode command lines tools, if you haven't already + +```shell +xcode-select --install +``` + +2. Install build dependencies + +```shell +brew install python3 llvm pkg-config make just +``` + +3. Build with Cargo + +```shell +CC=clang CXX=clang++ just build +``` ## Linux @@ -85,4 +101,3 @@ CC=clang CXX=clang++ just build ## FreeBSD -- TODO -- -