1
0
rocket-chip/rocket/hardfloat-dependent.sbt
2014-08-18 19:23:10 -07:00

9 lines
312 B
Scala

// Provide a managed dependency on chisel if -DhardfloatVersion="" is
// supplied on the command line.
val hardfloatVersion = System.getProperty("hardfloatVersion", "None")
libraryDependencies ++= ( if (hardfloatVersion != "None" ) (
"edu.berkeley.cs" %% "hardfloat" % hardfloatVersion
) :: Nil; else Nil)