Skip to content

Commit 8179147

Browse files
test=document_fix
1 parent b3451d2 commit 8179147

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ci/run_setup.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
source $(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/utils.sh
1616
init
1717

18-
export PATH=/usr/local/bin:${PATH}
19-
ln -sf $(which python${PY_VERSION}) /usr/local/bin/python
20-
ln -sf $(which pip${PY_VERSION}) /usr/local/bin/pip
18+
if [ -z "${WITH_ROCM}" ] || [ "${WITH_ROCM}" = "OFF" ]; then
19+
export PATH=/usr/local/bin:${PATH}
20+
ln -sf $(which python${PY_VERSION}) /usr/local/bin/python
21+
ln -sf $(which pip${PY_VERSION}) /usr/local/bin/pip
22+
fi
2123
echo "::group::Installing zstd"
2224
apt install zstd -y
2325
echo "::endgroup::"

0 commit comments

Comments
 (0)