@@ -6,7 +6,7 @@ In the near future, `std::autodiff` should become available in nightly builds fo
6
6
7
7
First you need to clone and configure the Rust repository:
8
8
``` bash
9
- git clone --depth=1 git@github.com:rust-lang/rust.git
9
+ git clone git@github.com:rust-lang/rust
10
10
cd rust
11
11
./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
12
12
```
@@ -45,7 +45,7 @@ apt install wget vim python3 git curl libssl-dev pkg-config lld ninja-build cmak
45
45
```
46
46
Then build rustc in a slightly altered way:
47
47
``` bash
48
- git clone --depth=1 https://github.com/rust-lang/rust.git
48
+ git clone https://github.com/rust-lang/rust
49
49
cd rust
50
50
./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
51
51
./x dist
@@ -66,7 +66,7 @@ We recommend that approach, if you just want to use any of them and have no expe
66
66
However, if you prefer to just build Enzyme without Rust, then these instructions might help.
67
67
68
68
``` bash
69
- git clone --depth=1 git@github.com:llvm/llvm-project.git
69
+ git clone git@github.com:llvm/llvm-project
70
70
cd llvm-project
71
71
mkdir build
72
72
cd build
@@ -77,7 +77,7 @@ ninja install
77
77
This gives you a working LLVM build, now we can continue with building Enzyme.
78
78
Leave the ` llvm-project ` folder, and execute the following commands:
79
79
``` bash
80
- git clone git@github.com:EnzymeAD/Enzyme.git
80
+ git clone git@github.com:EnzymeAD/Enzyme
81
81
cd Enzyme/enzyme
82
82
mkdir build
83
83
cd build
0 commit comments