build: Don't try to make timing for non-checked out submodules
If a library directory doesn't contain a 'cells' subdir, it's most likely not checked out, so skip it Fixes #76 Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
parent
3803500497
commit
95238de345
12
Makefile
12
Makefile
|
@ -69,14 +69,18 @@ LIBRARIES = $(sort $(notdir $(wildcard libraries/sky130_*_sc_*)))
|
|||
|
||||
$(LIBRARIES): | $(CONDA_ENV_PYTHON)
|
||||
@$(IN_CONDA_ENV) for V in libraries/$@/*; do \
|
||||
python -m skywater_pdk.liberty $$V; \
|
||||
python -m skywater_pdk.liberty $$V all; \
|
||||
python -m skywater_pdk.liberty $$V all --ccsnoise; \
|
||||
if [ -d "$$V/cells" ]; then \
|
||||
python -m skywater_pdk.liberty $$V; \
|
||||
python -m skywater_pdk.liberty $$V all; \
|
||||
python -m skywater_pdk.liberty $$V all --ccsnoise; \
|
||||
fi \
|
||||
done
|
||||
|
||||
sky130_fd_sc_ms-leakage: | $(CONDA_ENV_PYTHON)
|
||||
@$(IN_CONDA_ENV) for V in libraries/sky130_fd_sc_ms/*; do \
|
||||
python -m skywater_pdk.liberty $$V all --leakage; \
|
||||
if [ -d "$$V/cells" ]; then \
|
||||
python -m skywater_pdk.liberty $$V all --leakage; \
|
||||
fi \
|
||||
done
|
||||
|
||||
sky130_fd_sc_ms: sky130_fd_sc_ms-leakage
|
||||
|
|
Loading…
Reference in New Issue