2014-08-19 04:23:10 +02:00
|
|
|
// Provide a managed dependency on chisel if -DchiselVersion="" is
|
|
|
|
// supplied on the command line.
|
|
|
|
|
2014-09-03 00:14:56 +02:00
|
|
|
val chiselVersion_r = System.getProperty("chiselVersion", "None")
|
2014-08-19 04:23:10 +02:00
|
|
|
|
2014-09-03 00:14:56 +02:00
|
|
|
// _r a temporary fix until sbt 13.6 https://github.com/sbt/sbt/issues/1465
|
|
|
|
|
|
|
|
libraryDependencies ++= ( if (chiselVersion_r != "None" ) (
|
|
|
|
"edu.berkeley.cs" %% "chisel" % chiselVersion_r
|
2014-08-19 04:23:10 +02:00
|
|
|
) :: Nil; else Nil)
|