Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

docs: add Intel Mac (x86_64) build instructions to BUILD.md (#1471)

ybely7901ef715eff
diff --git a/BUILD.md b/BUILD.md
index 78b1365b..65203043 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -17,6 +17,21 @@ This guide covers how to set up the development environment and build Handy from
- Xcode Command Line Tools
- Install with: `xcode-select --install`
+##### Intel Mac (x86_64)
+
+Prebuilt ONNX Runtime binaries are not available for Intel Macs. Install ONNX Runtime via Homebrew and link dynamically:
+
+```bash
+brew install onnxruntime
+ORT_LIB_LOCATION=$(brew --prefix onnxruntime)/lib ORT_PREFER_DYNAMIC_LINK=1 bun run tauri dev
+```
+
+The same environment variables apply for production builds:
+
+```bash
+ORT_LIB_LOCATION=$(brew --prefix onnxruntime)/lib ORT_PREFER_DYNAMIC_LINK=1 bun run tauri build
+```
+
#### Windows
- Microsoft C++ Build Tools