Merge pull request #1052 from ucb-bar/treadle-fix

Force FIRRTL 1.4.1
This commit is contained in:
Abraham Gonzalez
2021-12-01 09:40:50 -08:00
committed by GitHub

View File

@@ -169,6 +169,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)