Skip to content

Commit 09e0e49

Browse files
authored
Set LD_LIBRARY_PATH for linux_cuda_wheel workflow (#1034)
1 parent 0535b00 commit 09e0e49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/linux_cuda_wheel.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,13 @@ jobs:
9595
# We install conda packages at the start because otherwise conda may have conflicts with dependencies.
9696
# Note: xorg-libxau was addded to fix a problem with ffmpeg 4. We should consider removing it.
9797
default-packages: "nvidia/label/cuda-${{ matrix.cuda-version }}.0::libnpp nvidia::cuda-nvrtc=${{ matrix.cuda-version }} nvidia::cuda-toolkit=${{ matrix.cuda-version }} nvidia::cuda-cudart=${{ matrix.cuda-version }} nvidia::cuda-driver-dev=${{ matrix.cuda-version }} conda-forge::ffmpeg=${{ matrix.ffmpeg-version-for-tests }} conda-forge::xorg-libxau"
98-
- name: Check env
98+
- name: Check env, set LD_LIBRARY_PATH
9999
run: |
100100
${CONDA_RUN} env
101101
${CONDA_RUN} conda info
102102
${CONDA_RUN} nvidia-smi
103103
${CONDA_RUN} conda list
104+
echo LD_LIBRARY_PATH=$CONDA_PREFIX/lib:/usr/local/cuda/lib64/:${LD_LIBRARY_PATH} >> $GITHUB_ENV
104105
- name: Assert ffmpeg exists
105106
run: |
106107
${CONDA_RUN} ffmpeg -buildconf

0 commit comments

Comments
 (0)