3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-06-01 06:37:51 +00:00

Migrate build system to CMake

See #5895 for details.

This commit does not include CI or documentation changes.
This commit is contained in:
Catherine 2026-05-12 05:33:04 +00:00
parent 4c8e61a52b
commit 16af8cbcc5
206 changed files with 5170 additions and 2294 deletions

View file

@ -0,0 +1,9 @@
# Builds each Yosys component individually to make sure there aren't any missing static dependencies.
# Checking for dynamic dependencies would involve running the testsuite, which is much slower.
set -e
cmake .. -G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_LINKER_TYPE=LLD
for comp in $(ninja --quiet print-yosys-components); do
cmake . -DCOMPONENTS=$comp
ninja --quiet yosys
done