2014-04-18 02:01:40 +02:00
|
|
|
// Provide a managed dependency on chisel if -DchiselVersion="" is
|
|
|
|
// supplied on the command line.
|
|
|
|
|
2014-09-03 00:16:03 +02:00
|
|
|
val chiselVersion_u = System.getProperty("chiselVersion", "None")
|
2014-04-18 02:01:40 +02:00
|
|
|
|
2014-09-03 00:16:03 +02:00
|
|
|
// _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)
|