Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuseZ4 authored Feb 23, 2023
1 parent f2372c0 commit 16010f8
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
# The Rust Programming Language

This is the main source code repository for [Rust]. It contains the compiler,
standard library, and documentation.
standard library, and documentation. It is modified to use Enzyme for AutoDiff.

Please configure this fork using the following command:

```
./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
```

Afterwards you can build rustc using:
```
x build --stage 1 library/std
```

Afterwards rustc toolchain link will allow you to use it trough cargo (adjust path):
```
rustup toolchain link enzyme /home/drehwald/prog/rust/build/x86_64-unknown-linux-gnu/stage1
```

[Rust]: https://www.rust-lang.org

Expand Down

0 comments on commit 16010f8

Please sign in to comment.