Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
if: matrix.variance.llvm == 21
env:
LLVM_ARCH: ${{ matrix.variance.artifact }}
PREBUILT_LLVM_URL: ${{ vars.PREBUILT_LLVM_URL || 'https://github.com/brandonros/rustc_codegen_nvvm-llvm/releases/download/llvm-21.1.8' }}
PREBUILT_LLVM_URL: ${{ vars.PREBUILT_LLVM_URL || 'https://github.com/Rust-GPU/rustc_codegen_nvvm-llvm/releases/download/llvm-21.1.8' }}
run: |
mkdir -p llvm-prebuilt
curl --fail --location --retry 3 \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/container_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v4
with:
name: digests-${{ env.ARTIFACT_NAME }}-${{ matrix.platform.arch }}
name: digests-${{ matrix.platform.arch }}-${{ env.ARTIFACT_NAME }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
uses: actions/download-artifact@v4
with:
path: /tmp/digests
pattern: digests-${{ env.ARTIFACT_NAME }}-*
pattern: digests-*-${{ env.ARTIFACT_NAME }}
merge-multiple: true
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
7 changes: 3 additions & 4 deletions guide/src/guide/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ appends `linux-x86_64.tar.xz`, `linux-aarch64.tar.xz`, or
`windows-x86_64.tar.xz` for the host platform.

```sh
export PREBUILT_LLVM_URL=https://github.com/brandonros/rustc_codegen_nvvm-llvm/releases/download/llvm-21.1.8
export PREBUILT_LLVM_URL=https://github.com/Rust-GPU/rustc_codegen_nvvm-llvm/releases/download/llvm-21.1.8
USE_PREBUILT_LLVM=1 cargo build -p rustc_codegen_nvvm --features llvm21
```

Expand All @@ -42,9 +42,8 @@ used only if local discovery fails. Select archives matching the backend's
LLVM version; the override also applies to LLVM 7 builds.

Linux CI accepts the same directory through the repository Actions variable
`PREBUILT_LLVM_URL`. Its LLVM 21 jobs default to the release above, whose
three archives match the artifacts from
[run 34781677658](https://github.com/brandonros/rustc_codegen_nvvm-llvm/actions/runs/34781677658).
`PREBUILT_LLVM_URL`. Its LLVM 21 jobs default to the release above, which is
also the backend's built-in default.

## CUDA basics

Expand Down
Loading