@@ -6,7 +6,7 @@ In the near future, `std::autodiff` should become available in nightly builds fo
66
77First you need to clone and configure the Rust repository:
88``` bash
9- git clone --depth=1 git@github.com:rust-lang/rust.git
9+ git clone git@github.com:rust-lang/rust
1010cd rust
1111./configure --enable-llvm-link-shared --enable-llvm-plugins --enable-llvm-enzyme --release-channel=nightly --enable-llvm-assertions --enable-clang --enable-lld --enable-option-checking --enable-ninja --disable-docs
1212```
@@ -45,7 +45,7 @@ apt install wget vim python3 git curl libssl-dev pkg-config lld ninja-build cmak
4545```
4646Then build rustc in a slightly altered way:
4747``` bash
48- git clone --depth=1 https://github.com/rust-lang/rust.git
48+ git clone https://github.com/rust-lang/rust
4949cd rust
5050./configure --enable-llvm-link-shared --enable-llvm-plugins --enable-llvm-enzyme --release-channel=nightly --enable-llvm-assertions --enable-clang --enable-lld --enable-option-checking --enable-ninja --disable-docs
5151./x dist
@@ -66,7 +66,7 @@ We recommend that approach, if you just want to use any of them and have no expe
6666However, if you prefer to just build Enzyme without Rust, then these instructions might help.
6767
6868``` bash
69- git clone --depth=1 git@github.com:llvm/llvm-project.git
69+ git clone git@github.com:llvm/llvm-project
7070cd llvm-project
7171mkdir build
7272cd build
@@ -77,7 +77,7 @@ ninja install
7777This gives you a working LLVM build, now we can continue with building Enzyme.
7878Leave the ` llvm-project ` folder, and execute the following commands:
7979``` bash
80- git clone git@github.com:EnzymeAD/Enzyme.git
80+ git clone git@github.com:EnzymeAD/Enzyme
8181cd Enzyme/enzyme
8282mkdir build
8383cd build
0 commit comments