Skip to content

Commit

Permalink
wheels: skip musllinux for now
Browse files Browse the repository at this point in the history
  • Loading branch information
donn committed Sep 29, 2024
1 parent 299cc23 commit be85b3c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,11 @@ jobs:
- name: Build wheels
uses: pypa/[email protected]
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
Expand All @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/wheels/cibw_before_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit be85b3c

Please sign in to comment.