Skip to content

Commit ea918a8

Browse files
authored
Add CI testing instructions for offload
1 parent b102605 commit ea918a8

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

src/offload/installation.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,15 @@ This gives you a working LLVM build.
3939

4040

4141
## Testing
42-
run
42+
Run this test script for offload-specific tests:
4343
```console
4444
./x test --stage 1 tests/codegen-llvm/gpu_offload
4545
```
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

Comments
 (0)