1
0
rocket-chip/rocket/hardfloat-dependent.sbt

9 lines
312 B
Plaintext
Raw Normal View History

2014-08-19 04:23:10 +02:00
// 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)