about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonah BrĂ¼chert <jbb@kaidan.im>2022-02-04 02:06:46 +0100
committerJonah BrĂ¼chert <jbb@kaidan.im>2022-02-19 19:59:03 +0100
commit4cdcf035a60c4adc8602cd61484c19846d621a25 (patch)
tree2c9c2769b6c4df2f9b441554b038239c562a17e0
parentb4ad63c687d0f0876252dbeaa2ebbd8aca82dfba (diff)
downloadrust-4cdcf035a60c4adc8602cd61484c19846d621a25.tar.gz
rust-4cdcf035a60c4adc8602cd61484c19846d621a25.zip
README: Add compiler-rt cloning step
-rw-r--r--Readme.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/Readme.md b/Readme.md
index 6e333f1b641..27b30e0fd1b 100644
--- a/Readme.md
+++ b/Readme.md
@@ -21,6 +21,8 @@ You can also use my [fork of gcc](https://github.com/antoyo/gcc) which already i
 ```bash
 $ git clone https://github.com/rust-lang/rustc_codegen_gcc.git
 $ cd rustc_codegen_gcc
+$ git clone https://github.com/llvm/llvm-project llvm --depth 1 --single-branch
+$ export RUST_COMPILER_RT_ROOT="$PWD/llvm/compiler-rt"
 $ ./prepare_build.sh # download and patch sysroot src
 $ ./build.sh --release
 ```