From 20b91b62020156474c51e0db44c679a9d8a9d20c Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Tue, 20 Jun 2023 10:39:52 -0500 Subject: [PATCH] [Reduce] Add missing build deps on HW/FIRRTL dialects. Primary motivation is to fix header-gen dependence (before this change, this includes header before they're gen'd) but since this uses both `firrtl::` and `hw::` bits link too. --- lib/Reduce/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/Reduce/CMakeLists.txt b/lib/Reduce/CMakeLists.txt index bb15859409cc..f4bba74baf9d 100644 --- a/lib/Reduce/CMakeLists.txt +++ b/lib/Reduce/CMakeLists.txt @@ -9,4 +9,8 @@ add_circt_library(CIRCTReduceLib MLIRSupport MLIRTransforms MLIRReduceLib + + # Dialect dependencies. + CIRCTFIRRTL + CIRCTHW )