]> git.gag.com Git - hw/altusmetrum/commitdiff
turn mincut off in pcb_drc so success and failure are both quick
authorBdale Garbee <bdale@gag.com>
Tue, 5 Aug 2025 05:01:46 +0000 (23:01 -0600)
committerBdale Garbee <bdale@gag.com>
Tue, 5 Aug 2025 05:01:46 +0000 (23:01 -0600)
pcb-rnd.mk

index 739351344dca81dd5c6e39bc930f766823d4193f..b18d727e6015454a657333184994685b9c8d92e8 100644 (file)
@@ -67,7 +67,7 @@ pcb:  $(SCHEMATICS) Makefile $(CONFIG)
 #      echo "Run pcb-rnd and import $(PROJECT).tdx"
 
 define pcb_drc
-       echo "Atomic(Save); DeleteRats(AllRats); Atomic(Restore); AddRats(AllRats); Atomic(Close)" | pcb-rnd --gui batch $(PROJECT).lht | grep "The layout is complete and has no shorted nets."
+       echo "Atomic(Save); DeleteRats(AllRats); Atomic(Restore); AddRats(AllRats); Atomic(Close)" | pcb-rnd --gui batch -c plugins/mincut/enable=0 $(PROJECT).lht | grep "The layout is complete and has no shorted nets."
        # not obvious what to look for in DRC() output to indicate 'all ok', so don't try
        echo "DRC()" | pcb-rnd --gui batch $(PROJECT).lht
 endef