Add llvm install info

This commit is contained in:
Michael Vines 2018-10-29 08:57:49 -07:00 committed by Grimes
parent 6fb2e080bc
commit ebcb9a2103
1 changed files with 18 additions and 1 deletions

View File

@ -1 +1,18 @@
Place holder, will hold instructions on how to setup and build C-based BPF programs
## Prerequisites
### Linux Ubuntu
The following link describes how to install llvm:
https://blog.kowalczyk.info/article/k/how-to-install-latest-clang-6.0-on-ubuntu-16.04-xenial-wsl.html
### macOS
Ensure the latest llvm is installed:
```
$ brew update # <- ensure your brew is up to date
$ brew list llvm # <- should see "llvm: stable 7.0.0 (bottled), HEAD [keg-only]"
$ brew install llvm
$ brew --prefix llvm # <- should output "/usr/local/opt/llvm"
```