diff --git a/AUTHORS b/AUTHORS index 6aee48b7d8..52c85f4493 100644 --- a/AUTHORS +++ b/AUTHORS @@ -42,4 +42,4 @@ Viktor Fröberg Locria Cyber Matthias Beyer Tim Whiting - +Logan Lowder diff --git a/BUILDING_FROM_SOURCE.md b/BUILDING_FROM_SOURCE.md index a531e22169..df825d2935 100644 --- a/BUILDING_FROM_SOURCE.md +++ b/BUILDING_FROM_SOURCE.md @@ -50,8 +50,12 @@ If you want to install it manually, you can also download Zig directly [here](ht **version: 12.0.x** For macOS, you can install LLVM 12 using `brew install llvm@12` and then adding -`/usr/local/opt/llvm/bin` to your `PATH`. You can confirm this worked by +`/usr/local/opt/llvm@12/bin` to your `PATH`. You can confirm this worked by running `llc --version` - it should mention "LLVM version 12.0.0" at the top. +You may also need to manually specify a prefix env var like so: +``` +export LLVM_SYS_120_PREFIX=/usr/local/opt/llvm@12 +``` For Ubuntu and Debian: ``` @@ -62,7 +66,7 @@ chmod +x llvm.sh ``` If you use this script, you'll need to add `clang` and `llvm-as` to your `PATH`. -By default, the script installs them as `llvm-as-12` and `clang-12`, +By default, the script installs them as `clang-12` and `llvm-as-12`, respectively. You can address this with symlinks like so: ```