From 05ac57c160c58268c571b74d6f688b87ff4312b0 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Fri, 4 Sep 2020 12:39:14 -0700 Subject: Better Building of FIRRTL From Source (#1563) Using JVM system properties sbt.sourcemode and sbt.workspace, one can now easily build chisel3 with firrtl from source Example use: Assuming firrtl is cloned into the chisel3 root directory: $ sbt -Dsbt.sourcemode=true -Dsbt.workspace=$PWD Alternatively, one can set these properties in .sbtopts which can then be committed, enabling building from source by default--- project/plugins.sbt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'project') diff --git a/project/plugins.sbt b/project/plugins.sbt index 24ee55eb..867bf6b6 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -8,7 +8,7 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1") addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.0") -addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0") +addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.10.0") addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.3") @@ -17,3 +17,8 @@ addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.15") addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.0") addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.2.5" ) + +addSbtPlugin("com.eed3si9n" % "sbt-sriracha" % "0.1.0") + +// From FIRRTL for building from source +addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.9.19") -- cgit v1.2.3