Remove upstream LLVM install instructions as we now (temporarily) bundle a forked LLVM
This commit is contained in:
parent
21a73d81ee
commit
27b617b340
|
@ -1,43 +1,3 @@
|
||||||
|
|
||||||
## Prerequisites
|
|
||||||
|
|
||||||
## LLVM / clang 7.0.0
|
|
||||||
http://releases.llvm.org/download.html
|
|
||||||
|
|
||||||
### Linux Ubuntu 18.04 (bionic)
|
|
||||||
```
|
|
||||||
$ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
|
||||||
$ sudo apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-7 main"
|
|
||||||
$ sudo apt-get update
|
|
||||||
$ sudo apt-get install -y clang-7
|
|
||||||
```
|
|
||||||
|
|
||||||
### Linux Ubuntu 16.04 (xenial)
|
|
||||||
```
|
|
||||||
$ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
|
||||||
$ sudo apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-7 main"
|
|
||||||
$ sudo apt-get update
|
|
||||||
$ sudo apt-get install -y clang-7
|
|
||||||
```
|
|
||||||
|
|
||||||
### Linux Ubuntu 14.04 (trusty)
|
|
||||||
```
|
|
||||||
$ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
|
||||||
$ sudo apt-add-repository "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-7 main"
|
|
||||||
$ sudo apt-get update
|
|
||||||
$ sudo apt-get install -y clang-7
|
|
||||||
```
|
|
||||||
|
|
||||||
### macOS
|
|
||||||
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:
|
|
||||||
```
|
|
||||||
$ brew update # <- ensure your brew is up to date
|
|
||||||
$ 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”
|
|
||||||
```
|
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
### Quick start
|
### Quick start
|
||||||
|
@ -81,5 +41,4 @@ Then run `make test`.
|
||||||
|
|
||||||
### Limitations
|
### Limitations
|
||||||
* Programs must be fully contained within a single .c file
|
* Programs must be fully contained within a single .c file
|
||||||
* No libc is available but `solana_sdk.h` provides a minimal set of
|
* No libc is available but `solana_sdk.h` provides a minimal set of primitives
|
||||||
primitives.
|
|
||||||
|
|
Loading…
Reference in New Issue