fix(ci): export LIBRARY_PATH for CUDA linker search paths
All checks were successful
poll-upstream / check (push) Successful in 1s
All checks were successful
poll-upstream / check (push) Successful in 1s
The linker needs LIBRARY_PATH to find -lcudnn at link time. LD_LIBRARY_PATH only affects runtime library loading. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -48,6 +48,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
export PATH="${{ matrix.cuda_home }}/bin:${PATH}"
|
export PATH="${{ matrix.cuda_home }}/bin:${PATH}"
|
||||||
export LD_LIBRARY_PATH="${{ matrix.cuda_home }}/targets/x86_64-linux/lib:${{ matrix.cuda_home }}/lib64:${LD_LIBRARY_PATH:-}"
|
export LD_LIBRARY_PATH="${{ matrix.cuda_home }}/targets/x86_64-linux/lib:${{ matrix.cuda_home }}/lib64:${LD_LIBRARY_PATH:-}"
|
||||||
|
export LIBRARY_PATH="${{ matrix.cuda_home }}/targets/x86_64-linux/lib:${{ matrix.cuda_home }}/lib64:${LIBRARY_PATH:-}"
|
||||||
cd src
|
cd src
|
||||||
cargo build --release --locked --features "${{ matrix.cargo_features }}"
|
cargo build --release --locked --features "${{ matrix.cargo_features }}"
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user