Skip to content

Commit e8e2a8b

Browse files
committed
Added build instructions to README
1 parent e5ee180 commit e8e2a8b

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,15 @@ Plus, it provides common wrappers around oft-used types like `Function`, `Global
4444
## Installation
4545

4646
There are a couple, annoying steps you need to get it working before it'll
47-
build. Number one, you'll need a custom `cllvm` pkg-config file, which is
48-
included in the repo. Drop that in `/usr/local/lib/pkgconfig` and make sure
49-
you have LLVM installed through `homebrew`:
50-
51-
```
52-
brew install llvm
53-
```
47+
build.
48+
49+
- Install LLVM 3.9 using your favorite package manager. For example:
50+
- `brew install llvm`
51+
- Ensure `llvm-config` is in your `PATH`
52+
- That will reside in the `/bin` folder wherever your package manager
53+
installed LLVM.
54+
- Create a pkg-config file for your specific LLVM installation.
55+
- We have a utility for this: `swift utils/make-pkgconfig.swift`
5456

5557
Once you do that, you can add LLVMSwift as a dependency for your own Swift
5658
compiler projects!

0 commit comments

Comments
 (0)