File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- CONDA_CHANNEL=" " 
4- 
5- #  python python-freethreading build use conda-forge
6- if  [[ " ${PYTHON_VERSION:  -1} "   ==  " t"   ]];  then 
7-   CONDA_CHANNEL=" -c conda-forge" 
8- fi 
9- 
103if  [[ " $( uname) "   ==  Darwin ]];  then 
114  #  Uninstall Conflicting jpeg brew formulae
125  jpeg_packages=$( brew list |  grep jpeg) 
@@ -20,7 +13,7 @@ if [[ "$(uname)" == Darwin ]]; then
2013fi 
2114
2215if  [[ " $( uname) "   ==  Darwin ||  " $OSTYPE "   ==  " msys"   ]];  then 
23-   conda install -yv  libpng libwebp ${CONDA_CHANNEL} 
16+   conda install libpng libwebp -yq 
2417  #  Installing webp also installs a non-turbo jpeg, so we uninstall jpeg stuff
2518  #  before re-installing them
2619  conda uninstall libjpeg-turbo libjpeg -y
@@ -35,11 +28,11 @@ if [[ "$(uname)" == Darwin || "$OSTYPE" == "msys" ]]; then
3528else 
3629
3730  if  [[ " $ARCH "   ==  " aarch64"   ]];  then 
38-     conda install -yv  libpng ${CONDA_CHANNEL} 
31+     conda install libpng -yq 
3932    conda install -yq ffmpeg=4.2 libjpeg-turbo -c pytorch-nightly
4033  fi 
4134
42-   conda install -v  libwebp ${CONDA_CHANNEL} 
35+   conda install libwebp -yq 
4336  conda install libjpeg-turbo -c pytorch
4437  yum install -y freetype gnutls
4538  pip install auditwheel
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments