Skip to content

Commit

Permalink
doc: Update setup document for m1 mac: install llvm@12 via homebrew (#56
Browse files Browse the repository at this point in the history
)

add description of install llvm@12 via brew"
  • Loading branch information
He1pa authored May 30, 2022
1 parent afd2c14 commit 838f36b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion kclvm/docs/m1-mac-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@
2. Install [email protected] ➡ brew install [email protected]
3. Check out openssl installed @`/opt/homebrew/opt/[email protected]/lib/libssl.1.1.dylib`
## Build LLVM from Source
## Install LLVM
You can install LLVM@12 from brew or build it from source
### Install LLVM from brew
1. Install llvm@12 ➡ brew install llvm@12
### Build LLVM from Source
1. Go to the folder where you want to build the LLVM source
2. Download LLVM 12.0.0 source from [http://releases.llvm.org/download.html](http://releases.llvm.org/download.html) and unpack source .tar.xz with tar -xJf [archive]
Expand Down
2 changes: 1 addition & 1 deletion plugins

0 comments on commit 838f36b

Please sign in to comment.