From 52cf309deb1322d490b2ee567a61d1d3932d9503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Harboe?= Date: Tue, 10 Mar 2026 22:02:20 +0100 Subject: [PATCH] flow: only enable LEC_CHECK when kepler-formal is installed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit kepler-formal is primarily an OpenROAD/ORFS developer tool. End-users would typically run LEC transactionally at project completion, not in every CI run. Default LEC_CHECK to 0 when kepler-formal is not present to avoid hard failures in environments where it is not installed. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Øyvind Harboe --- flow/settings.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flow/settings.mk b/flow/settings.mk index e824878e7f..413a40682c 100644 --- a/flow/settings.mk +++ b/flow/settings.mk @@ -1 +1,5 @@ -export LEC_CHECK ?= 1 +# Enable LEC (Logical Equivalence Check) only if kepler-formal is installed. +# kepler-formal is primarily an OpenROAD/ORFS developer tool, not an end-user +# tool. End-users would typically run LEC transactionally at project completion, +# not in every CI run where it wastes CI time. +export LEC_CHECK ?= $(if $(wildcard $(KEPLER_FORMAL_EXE)),1,0)