Skip to content

Commit

Permalink
one_more_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman committed Nov 13, 2024
1 parent 08fa4b7 commit 6e2ef6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/scripts/cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ else
JOBS=$(nproc)
fi

if [[ $OS_TYPE == linux ]]; then
export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}"
fi

TORCH_PATH=$(python -c "import pathlib, torch; print(pathlib.Path(torch.__path__[0]))")
if [[ $OS_TYPE == windows ]]; then
PACKAGING_DIR="${PWD}/packaging"
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/build-cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ jobs:
export PYTHON_VERSION=3.9
export GPU_ARCH_TYPE=${{ matrix.gpu-arch-type }}
export GPU_ARCH_VERSION=${{ matrix.gpu-arch-version }}
# Prepare conda
CONDA_PATH=$(which conda)
eval "$(${CONDA_PATH} shell.bash hook)"
conda activate ci
export LD_LIBRARY_PATH="${CONDA_PREFIX}/lib:${LD_LIBRARY_PATH}"
./.github/scripts/cmake.sh
macos:
Expand Down

0 comments on commit 6e2ef6f

Please sign in to comment.