diff --git a/packaging/pre_build_script.sh b/packaging/pre_build_script.sh index 6bc3cdc703f..8f3fed3b4f2 100644 --- a/packaging/pre_build_script.sh +++ b/packaging/pre_build_script.sh @@ -9,15 +9,16 @@ if [[ "$(uname)" == Darwin ]]; then brew uninstall --ignore-dependencies --force $pkg || true done - conda install -yq wget + conda install -y wget fi if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then - conda install libpng libwebp -yq + conda install libpng libwebp -y # Installing webp also installs a non-turbo jpeg, so we uninstall jpeg stuff # before re-installing them conda uninstall libjpeg-turbo libjpeg -y - conda install -yq ffmpeg=4.2 libjpeg-turbo -c pytorch + conda install -y ffmpeg=4.2 -c pytorch + conda install -y libjpeg-turbo -c pytorch # Copy binaries to be included in the wheel distribution if [[ "$OSTYPE" == "msys" ]]; then @@ -28,11 +29,11 @@ if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then else if [[ "$ARCH" == "aarch64" ]]; then - conda install libpng -yq - conda install -yq ffmpeg=4.2 libjpeg-turbo -c pytorch-nightly + conda install libpng -y + conda install -y ffmpeg=4.2 libjpeg-turbo -c pytorch-nightly fi - conda install libwebp -yq + conda install libwebp -y conda install libjpeg-turbo -c pytorch yum install -y freetype gnutls pip install auditwheel