From 02adf86b8261ca4b5baf35b3257e15cdbabd7f87 Mon Sep 17 00:00:00 2001 From: Abraham Gonzalez Date: Thu, 2 Dec 2021 09:25:51 -0800 Subject: [PATCH] Force FIRRTL 1.4.1 (#1053) --- variables.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/variables.mk b/variables.mk index 5d136e80..02c8d06e 100644 --- a/variables.mk +++ b/variables.mk @@ -163,6 +163,10 @@ SBT_OPTS_FILE := $(base_dir)/.sbtopts ifneq (,$(wildcard $(SBT_OPTS_FILE))) override SBT_OPTS += $(subst $$PWD,$(base_dir),$(shell cat $(SBT_OPTS_FILE))) endif +# Workaround: Specify a firrtl version in system properties so that Treadle uses a +# compatible version of FIRRTL and not 1.5-SNAPSHOT (which is the default +# specified in it's build.sbt, and is not overridden by Chipyard's build.sbt) +override SBT_OPTS += -DfirrtlVersion=1.4.1 SCALA_BUILDTOOL_DEPS = $(SBT_SOURCES)