wheels: skip musllinux for now

This commit is contained in:
Mohamed Gaber 2024-09-29 16:02:37 +03:00
parent 67f17a1c97
commit 08c23b7632
No known key found for this signature in database
2 changed files with 7 additions and 3 deletions

View File

@ -85,7 +85,11 @@ jobs:
- name: Build wheels
uses: pypa/cibuildwheel@v2.21.1
env:
CIBW_SKIP: pp* # The Makefile requires python3-config which is not in pypy
# * APIs not supported by PyPy
# * Musllinux temporarily disabled because it takes too much time
CIBW_SKIP: >
pp*
*musllinux*
CIBW_ARCHS: ${{ matrix.os.archs }}
CIBW_BUILD_VERBOSITY: "1"
# manylinux2014 (default) does not have a modern enough C++ compiler for Yosys
@ -107,4 +111,4 @@ jobs:
CIBW_TEST_COMMAND: python3 -c "from pyosys import libyosys as ys;d=ys.Design();ys.run_pass('help', d)"
- uses: actions/upload-artifact@v3
with:
path: ./dist/*.whl
path: ./wheelhouse/*.whl

View File

@ -18,6 +18,6 @@ cd ffi
## Ultimate libyosys.so will be shared, so we need fPIC for the static libraries
CFLAGS=-fPIC CXXFLAGS=-fPIC ./configure --prefix=$PWD/pfx
## Without this, SHELL has a space in its path which breaks the makefile
make install -j$(getconf _NPROCESSORS_ONLN 2>/dev/null || sysctl -n hw.ncpu) SHELL=bash
make install -j$(getconf _NPROCESSORS_ONLN 2>/dev/null || sysctl -n hw.ncpu)
## Forces static library to be used in all situations
sed -i.bak 's@-L${toolexeclibdir} -lffi@${toolexeclibdir}/libffi.a@' ./pfx/lib/pkgconfig/libffi.pc