blob: 0081dd668fad9c73e4eed78cbc4412c3e861de5c [file] [log] [blame]
From a5832b43c32e5aa747fe0af5821650d629641594 Mon Sep 17 00:00:00 2001
From: Alex Van Damme <atv@google.com>
Date: Thu, 15 Aug 2024 16:47:26 -0700
Subject: [PATCH 4/5] Build verilator v4.226
---
dependency_support/verilator/verilator.BUILD | 9 ++++++---
dependency_support/verilator/verilator.bzl | 4 ++--
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/dependency_support/verilator/verilator.BUILD b/dependency_support/verilator/verilator.BUILD
index b2a82a2..c21b8fd 100644
--- a/dependency_support/verilator/verilator.BUILD
+++ b/dependency_support/verilator/verilator.BUILD
@@ -48,7 +48,8 @@ genrule(
"V3Ast__gen_impl.h",
"V3Ast__gen_report.txt",
"V3Ast__gen_types.h",
- "V3Ast__gen_visitor.h",
+ "V3Ast__gen_visitor_decls.h",
+ "V3Ast__gen_visitor_defns.h",
"V3Ast__gen_yystype.h",
"V3AstNodes__gen_macros.h",
],
@@ -58,7 +59,8 @@ genrule(
cp V3Ast__gen_impl.h $(@D)
cp V3Ast__gen_report.txt $(@D)
cp V3Ast__gen_types.h $(@D)
- cp V3Ast__gen_visitor.h $(@D)
+ cp V3Ast__gen_visitor_decls.h $(@D)
+ cp V3Ast__gen_visitor_defns.h $(@D)
cp V3Ast__gen_yystype.h $(@D)
cp V3AstNodes__gen_macros.h $(@D)
""",
@@ -153,7 +155,8 @@ cc_library(
":V3Ast__gen_classes.h",
":V3Ast__gen_impl.h",
":V3Ast__gen_types.h",
- ":V3Ast__gen_visitor.h",
+ ":V3Ast__gen_visitor_decls.h",
+ ":V3Ast__gen_visitor_defns.h",
":V3AstNodes__gen_macros.h",
":V3Ast__gen_yystype.h",
":V3Const__gen.cpp",
diff --git a/dependency_support/verilator/verilator.bzl b/dependency_support/verilator/verilator.bzl
index 76893b7..1dd2d5e 100644
--- a/dependency_support/verilator/verilator.bzl
+++ b/dependency_support/verilator/verilator.bzl
@@ -56,11 +56,11 @@ verilator_repository = repository_rule(
),
"version": attr.string(
doc = "The version of verilator to use.",
- default = "4.224",
+ default = "4.226",
),
"sha256": attr.string(
doc = "The sha256 hash for this version of verilator",
- default = "010ff2b5c76d4dbc2ed4a3278a5599ba35c8ed4c05690e57296d6b281591367b",
+ default = "70bc941d86e4810253d51aa94898b0802d916ab76296a398f8ceb8798122c9be",
),
},
)
--
2.46.0.184.g6999bdac58-goog