You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/autodiff/installation.md
+3-5Lines changed: 3 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ For the meantime, you can download up-to-date builds to enable `std::autodiff` o
6
6
**Linux**, with `x86_64-unknown-linux-gnu` or `aarch64-unknown-linux-gnu`
7
7
**Windows**, with `x86_64-llvm-mingw` or `aarch64-llvm-mingw`
8
8
9
-
You can also download slightly outdated builds for **Apple** (aarch64-apple), which should generally work for now.
9
+
In the past you could also download builds for **Apple** (aarch64-apple), however they are not usable at the moment.
10
10
11
11
If you need any other platform, you can build rustc including autodiff from source.
12
12
Please open an issue if you want to help enabling automatic builds for your prefered target.
@@ -24,7 +24,7 @@ For now, you'll have to manually download and copy it.
24
24
5) Copy the artifact (libEnzyme-22.so for linux, libEnzyme-22.dylib for apple, etc.), which should be in a folder named `enzyme-preview`, to your rust toolchain directory. E.g. for linux: `cp ~/Downloads/enzyme-nightly-x86_64-unknown-linux-gnu/enzyme-preview/lib/rustlib/x86_64-unknown-linux-gnu/lib/libEnzyme-22.so ~/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib`
25
25
26
26
Apple support was temporarily reverted, due to downstream breakages.
27
-
If you want to download autodiff for apple, please look at the artifacts from this [`run`].
Afterwards we can create a new (pre-release) tag on the EnzymeAD/rust repository and make a PR against the EnzymeAD/enzyme-explorer repository to update the tag.
112
112
Remember to ping `tgymnich` on the PR to run his update script.
113
113
Note: We should archive EnzymeAD/rust and update the instructions here.
114
-
The explorer should soon
115
-
be able to get the rustc toolchain from the official rust servers.
114
+
The explorer should soon be able to get the rustc toolchain from the official rust servers.
116
115
117
116
118
117
## Build instruction for Enzyme itself
@@ -144,5 +143,4 @@ This will build Enzyme, and you can find it in `Enzyme/enzyme/build/lib/<LLD/Cla
Copy file name to clipboardExpand all lines: src/offload/installation.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,15 @@ This gives you a working LLVM build.
39
39
40
40
41
41
## Testing
42
-
run
42
+
Run this test script for offload-specific tests:
43
43
```console
44
44
./x test --stage 1 tests/codegen-llvm/gpu_offload
45
45
```
46
+
47
+
For testing the CI locally, you may use the commands outlined in [Testing with Docker](https://rustc-dev-guide.rust-lang.org/tests/docker.html):
48
+
```console
49
+
cargo run --manifest-path src/ci/citool/Cargo.toml run-local dist-x86_64-linux
50
+
```
51
+
This stores all compiler artifacts in the `obj` directory, however should you modify rustc-specific code, you may need to delete this directory as the Docker image will cache its state otherwise.
52
+
53
+
Submodules should also be checked out at this point.
0 commit comments