File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,6 @@ conda activate ci
3737conda install --quiet --yes libjpeg-turbo -c pytorch
3838pip install --progress-bar=off --upgrade setuptools==72.1.0
3939
40- # set ld_library_path - make sure so libraries have precedence
41- if [[ " ${OS_TYPE} " == linux ]]; then
42- export LD_LIBRARY_PATH=" ${CONDA_PREFIX} /lib:${LD_LIBRARY_PATH} "
43- fi
4440
4541# See https://github.com/pytorch/vision/issues/6790
4642if [[ " ${PYTHON_VERSION} " != " 3.11" ]]; then
Original file line number Diff line number Diff line change 3333 export PYTHON_VERSION=3.9
3434 export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}
3535 export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}
36+ # Prepare conda
37+ CONDA_PATH=$(which conda)
38+ eval "$(${CONDA_PATH} shell.bash hook)"
39+ conda activate ci
40+ export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}"
3641 ./.github/scripts/cmake.sh
3742
3843 macos :
You can’t perform that action at this time.
0 commit comments