1
0

better fix with explanation of sbt issue

This commit is contained in:
Scott Beamer 2014-09-02 15:16:03 -07:00
parent bfb662968d
commit f8821b4cc9

View File

@ -1,6 +1,8 @@
// Provide a managed dependency on chisel if -DchiselVersion="" is
// supplied on the command line.
lazy val chiselVersion = System.getProperty("chiselVersion", "None")
val chiselVersion_u = System.getProperty("chiselVersion", "None")
libraryDependencies ++= ( if (chiselVersion != "None" ) ("edu.berkeley.cs" %% "chisel" % chiselVersion) :: Nil; else Nil)
// _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)