From d7bf6e6731ebfa2f20a46a3a5231a82f63daa05c Mon Sep 17 00:00:00 2001 From: Rob Taylor Date: Thu, 5 Jun 2025 16:45:36 +0100 Subject: [PATCH] Add script to build on macos --- build-macos.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 build-macos.sh diff --git a/build-macos.sh b/build-macos.sh new file mode 100755 index 000000000..6e2d84197 --- /dev/null +++ b/build-macos.sh @@ -0,0 +1,6 @@ +brew install llvm@15 +export PATH="/opt/homebrew/opt/llvm@15/bin:$PATH" +export LDFLAGS="-L/opt/homebrew/opt/llvm@15/lib" +export CPPFLAGS="-I/opt/homebrew/opt/llvm@15/include"] + +cargo build --release