3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-25 19:36:21 +00:00
yosys/misc/cmake/check_missing_depends.sh
Catherine cad5353a2a Migrate build system to CMake
See #5895 for details.

This commit does not include CI or documentation changes.
2026-05-21 23:50:04 +00:00

9 lines
394 B
Bash

# 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