solana/programs/bpf/c
Michael Vines ebcb9a2103 Add llvm install info 2018-10-29 10:00:45 -07:00
..
src Cleanup c programs (#1620) 2018-10-26 19:38:07 -07:00
.gitignore Ignore out/ 2018-10-29 10:00:45 -07:00
README.md Add llvm install info 2018-10-29 10:00:45 -07:00
makefile Use V=1 for verbosity, easier to type 2018-10-29 10:00:45 -07:00
sol_bpf_c.h Cleanup c programs (#1620) 2018-10-26 19:38:07 -07:00

README.md

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"