mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Don't use multibuild variables before invoking multibuild.
This commit is contained in:
		
							parent
							
								
									ec214e4d7c
								
							
						
					
					
						commit
						d1a4f8029b
					
				
							
								
								
									
										20
									
								
								.github/workflows/wheels-dependencies.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										20
									
								
								.github/workflows/wheels-dependencies.sh
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -1,4 +1,14 @@
 | 
			
		|||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
# Setup that needs to be done before multibuild utils are invoked
 | 
			
		||||
if [[ "$(uname -s)" == "Darwin" ]]; then
 | 
			
		||||
    # Build and install macOS builds into the `build/deps` folder.
 | 
			
		||||
    BUILD_PREFIX=$(pwd)/build/deps
 | 
			
		||||
else
 | 
			
		||||
    export MB_ML_LIBC=${AUDITWHEEL_POLICY::9}
 | 
			
		||||
    export MB_ML_VER=${AUDITWHEEL_POLICY:9}
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Define custom utilities
 | 
			
		||||
export PLAT=$CIBW_ARCHS
 | 
			
		||||
source wheels/multibuild/common_utils.sh
 | 
			
		||||
| 
						 | 
				
			
			@ -7,16 +17,6 @@ if [ -z "$IS_MACOS" ]; then
 | 
			
		|||
    source wheels/multibuild/manylinux_utils.sh
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
# Test for macOS with [ -n "$IS_MACOS" ]
 | 
			
		||||
echo "IS MACOS: $IS_MACOS"
 | 
			
		||||
if [ -z "$IS_MACOS" ]; then
 | 
			
		||||
    export MB_ML_LIBC=${AUDITWHEEL_POLICY::9}
 | 
			
		||||
    export MB_ML_VER=${AUDITWHEEL_POLICY:9}
 | 
			
		||||
elseac
 | 
			
		||||
    # Build and install macOS builds into the `build/deps` folder.
 | 
			
		||||
    BUILD_PREFIX=$(pwd)/build/deps
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
ARCHIVE_SDIR=pillow-depends-main
 | 
			
		||||
 | 
			
		||||
# Package versions for fresh source builds
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user