aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 33e45c213..e1889e97f 100644
--- a/README.md
+++ b/README.md
@@ -920,6 +920,20 @@ brew install llvm@12 coreutils libtool cmake libiconv automake openssl@1.1
Bun (& the version of Zig) need LLVM 12 and Clang 12 (clang is part of LLVM). Weird build & runtime errors will happen otherwise.
+Make sure LLVM 12 is in your `$PATH`:
+
+```bash
+which clang-12
+```
+
+If it is not, you will have to run this to add it:
+
+```bash
+export PATH=$(brew --prefix llvm@12)/bin:$PATH
+```
+
+On fish that looks like `fish_add_path (brew --prefix llvm@12)/bin`
+
Compile Zig:
```bash