Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc(readme): add LLVM install instructions for Arch Linux #65

Merged
merged 1 commit into from
Nov 26, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@ runners](.github/actions/install-llvm/index.js):
# Ubuntu 18.04
sudo apt install llvm-7 llvm-7-* liblld-7*
```
* **Arch Linux** As its package manager doesn't have lld7, it's easier to download all binaries
manually.
```bash
# Download binaries for Ubuntu 14.04 (works across distros)
wget https://github.com/llvm/llvm-project/releases/download/llvmorg-7.1.0/clang+llvm-7.1.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz
# Unpack to /usr/ directory
tar -xf clang+llvm-7.1.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz -C /usr/
```
When running `llvm-config`, an error can occur signalling that `/usr/lib/libtinfo.so.5` is
missing. If a newer version is present, create a symlink; e.g. `ln -s /usr/lib/libtinfo.so.6
/usr/lib/libtinfo.so.5`), otherwise download the library.
* **macOS**: [Brew](https://brew.sh/) contains a binary distribution of LLVM 7.1.0. However, as it's
not the latest version, it won't be added to the path. We are using
[llvm-sys](https://crates.io/crates/llvm-sys) to manage version, but another option is to export
Expand Down