mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Workaround problems with cmake and xz on manylinux2014
This commit is contained in:
		
							parent
							
								
									c7991158b6
								
							
						
					
					
						commit
						639793e150
					
				
							
								
								
									
										10
									
								
								config.sh
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								config.sh
									
									
									
									
									
								
							| 
						 | 
					@ -25,6 +25,16 @@ function pre_build {
 | 
				
			||||||
    if [ -n "$IS_OSX" ]; then
 | 
					    if [ -n "$IS_OSX" ]; then
 | 
				
			||||||
        # Update to latest zlib for OS X build
 | 
					        # Update to latest zlib for OS X build
 | 
				
			||||||
        build_new_zlib
 | 
					        build_new_zlib
 | 
				
			||||||
 | 
					    elif [ $MB_ML_VER -eq 2014 ]; then
 | 
				
			||||||
 | 
					        yum install -y cmake
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					        function get_cmake {
 | 
				
			||||||
 | 
					            echo cmake
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        function build_xz {
 | 
				
			||||||
 | 
					            yum install -y xz-devel
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    fi
 | 
					    fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if [ -n "$IS_OSX" ]; then
 | 
					    if [ -n "$IS_OSX" ]; then
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user