1
0

better fix with explanation of sbt issue

This commit is contained in:
Scott Beamer 2014-09-02 15:14:56 -07:00
parent f9922a106b
commit 600c5d50a9

View File

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