solana-with-rpc-optimizations/programs/bpf/c/sdk/README.md

20 lines
601 B
Markdown
Raw Normal View History

2018-10-29 08:57:49 -07:00
## 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
2018-10-29 20:32:45 -07:00
The following depends on Homebrew, instructions on how to install Homebrew are at https://brew.sh
Once Homebrew is installed, ensure the latest llvm is installed:
2018-10-29 08:57:49 -07:00
```
$ brew update # <- ensure your brew is up to date
2018-10-29 20:32:45 -07:00
$ brew install llvm # <- should output Warning: llvm 7.0.0 is already installed and up-to-date
$ brew --prefix llvm # <- should output /usr/local/opt/llvm
2018-10-29 08:57:49 -07:00
```