1
0
rocket-chip/uncore/chisel-dependent.sbt
2014-09-02 15:16:03 -07:00

9 lines
371 B
Scala

// Provide a managed dependency on chisel if -DchiselVersion="" is
// supplied on the command line.
val chiselVersion_u = System.getProperty("chiselVersion", "None")
// _u a temporary fix until sbt 13.6 https://github.com/sbt/sbt/issues/1465
libraryDependencies ++= ( if (chiselVersion_u != "None" ) ("edu.berkeley.cs" %% "chisel" % chiselVersion_u) :: Nil; else Nil)