mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	wheels: symlink python3-config
This commit is contained in:
		
							parent
							
								
									ab84c105c1
								
							
						
					
					
						commit
						67f17a1c97
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								.github/workflows/wheels.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/wheels.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -83,7 +83,7 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          python-version: 3.8
 | 
			
		||||
      - name: Build wheels
 | 
			
		||||
        uses: pypa/cibuildwheel@v2.20.0
 | 
			
		||||
        uses: pypa/cibuildwheel@v2.21.1
 | 
			
		||||
        env:
 | 
			
		||||
          CIBW_SKIP: pp* # The Makefile requires python3-config which is not in pypy
 | 
			
		||||
          CIBW_ARCHS: ${{ matrix.os.archs }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,10 @@ set -x
 | 
			
		|||
make clean
 | 
			
		||||
 | 
			
		||||
# DEBUG: show python3 and python3-config outputs
 | 
			
		||||
if [ "$(uname)" != "Linux" ]; then
 | 
			
		||||
    # https://github.com/pypa/cibuildwheel/issues/2021
 | 
			
		||||
    ln -s $(dirname $(readlink -f $(which python3)))/python3-config $(dirname $(which python3))/python3-config
 | 
			
		||||
fi
 | 
			
		||||
python3 --version
 | 
			
		||||
python3-config --includes
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue