1
0
rocket-chip/uncore/chisel-dependent.sbt
Jim Lawson bf2ff7804e Add chisel-dependent.sbt for -DchiselVersion="latest.release"
If -DchiselVersion is specified on the command line, add the
appropriate chisel library to libraryDependencies.
2014-04-17 17:01:40 -07:00

7 lines
288 B
Scala

// Provide a managed dependency on chisel if -DchiselVersion="" is
// supplied on the command line.
val chiselVersion = System.getProperty("chiselVersion", "None")
libraryDependencies ++= ( if (chiselVersion != "None" ) ("edu.berkeley.cs" %% "chisel" % chiselVersion) :: Nil; else Nil)