Skip to content

Commit 08fa4b7

Browse files
committed
test
1 parent f2cfe40 commit 08fa4b7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/scripts/setup-env.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ conda activate ci
3737
conda install --quiet --yes libjpeg-turbo -c pytorch
3838
pip 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
4642
if [[ "${PYTHON_VERSION}" != "3.11" ]]; then

.github/workflows/build-cmake.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
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:

0 commit comments

Comments
 (0)