mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-25 11:26:22 +00:00
9 lines
394 B
Bash
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
|