Skip to content

Commit b1ed49d

Browse files
authored
Update pre_build_script.sh
1 parent 4bb60e6 commit b1ed49d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packaging/pre_build_script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [[ "$(uname)" == Darwin ]]; then
1818
fi
1919

2020
if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then
21-
conda install libpng libwebp -yq
21+
conda install -yv libpng libwebp ${CONDA_CHANNEL}
2222
# Installing webp also installs a non-turbo jpeg, so we uninstall jpeg stuff
2323
# before re-installing them
2424
conda uninstall libjpeg-turbo libjpeg -y
@@ -33,7 +33,7 @@ if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then
3333
else
3434

3535
if [[ "$ARCH" == "aarch64" ]]; then
36-
conda install libpng -yq
36+
conda install -yv libpng ${CONDA_CHANNEL}
3737
conda install -yq ffmpeg=4.2 libjpeg-turbo -c pytorch-nightly
3838
fi
3939

0 commit comments

Comments
 (0)