mirror of https://github.com/YosysHQ/yosys.git
fix: clean between wheel and tarball builds to avoid TCL mismatch
The wheel build uses ENABLE_TCL=0, but the standalone yosys binary needs ENABLE_TCL=1. Without a clean, stale .o files cause undefined reference errors for TCL symbols. Made-with: Cursor
This commit is contained in:
parent
fe4a997549
commit
944d0b370a
|
|
@ -55,7 +55,8 @@ jobs:
|
|||
) python3 setup.py bdist_wheel --dist-dir /src/dist
|
||||
|
||||
# Also build the yosys binary + install tarball
|
||||
make -j$(nproc) SMALL=1 ENABLE_PLUGINS=0 PREFIX=/usr/local install
|
||||
make clean
|
||||
make -j$(nproc) SMALL=1 ENABLE_PLUGINS=0 ENABLE_TCL=1 ENABLE_READLINE=1 PREFIX=/usr/local
|
||||
make DESTDIR=/tmp/install PREFIX=/usr/local install
|
||||
cd /tmp/install
|
||||
tar czf /src/yosys-anylinux-amd64.tar.gz .
|
||||
|
|
|
|||
Loading…
Reference in New Issue