Add chisel-dependent.sbt for -DchiselVersion="latest.release"
If -DchiselVersion is specified on the command line, add the appropriate chisel library to libraryDependencies.
This commit is contained in:
parent
b1df49ba30
commit
bf2ff7804e
6
uncore/chisel-dependent.sbt
Normal file
6
uncore/chisel-dependent.sbt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// Provide a managed dependency on chisel if -DchiselVersion="" is
|
||||||
|
// supplied on the command line.
|
||||||
|
|
||||||
|
val chiselVersion = System.getProperty("chiselVersion", "None")
|
||||||
|
|
||||||
|
libraryDependencies ++= ( if (chiselVersion != "None" ) ("edu.berkeley.cs" %% "chisel" % chiselVersion) :: Nil; else Nil)
|
Loading…
Reference in New Issue
Block a user