diff options
author | 2021-10-30 18:12:31 -0700 | |
---|---|---|
committer | 2021-10-30 18:12:31 -0700 | |
commit | 34a8a623f467b4641b688d2eb26ed9943bfc3b46 (patch) | |
tree | 864a2ff87868f30d9c590995bdd1354b8c7a2192 | |
parent | f854539ea9928a34fafbf2f752cfecf463eaeac7 (diff) | |
download | bun-34a8a623f467b4641b688d2eb26ed9943bfc3b46.tar.gz bun-34a8a623f467b4641b688d2eb26ed9943bfc3b46.tar.zst bun-34a8a623f467b4641b688d2eb26ed9943bfc3b46.zip |
Update README.md
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |