mirror of https://github.com/YosysHQ/yosys.git
wheels: symlink python3-config
This commit is contained in:
parent
ab84c105c1
commit
67f17a1c97
|
@ -83,7 +83,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
python-version: 3.8
|
python-version: 3.8
|
||||||
- name: Build wheels
|
- name: Build wheels
|
||||||
uses: pypa/cibuildwheel@v2.20.0
|
uses: pypa/cibuildwheel@v2.21.1
|
||||||
env:
|
env:
|
||||||
CIBW_SKIP: pp* # The Makefile requires python3-config which is not in pypy
|
CIBW_SKIP: pp* # The Makefile requires python3-config which is not in pypy
|
||||||
CIBW_ARCHS: ${{ matrix.os.archs }}
|
CIBW_ARCHS: ${{ matrix.os.archs }}
|
||||||
|
|
|
@ -5,6 +5,10 @@ set -x
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
# DEBUG: show python3 and python3-config outputs
|
# 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 --version
|
||||||
python3-config --includes
|
python3-config --includes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue