forked from maltanar/rosetta
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
15 lines (12 loc) · 763 Bytes
/
build.sbt
File metadata and controls
15 lines (12 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
val chiselVersion = System.getProperty("chiselVersion", "2.+")
val scalaVer = System.getProperty("scalaVer", "2.11.6")
lazy val rosettaSettings = Seq (
name := "rosetta_template",
version := "0.1",
scalaVersion := scalaVer,
libraryDependencies ++= ( if (chiselVersion != "None" ) ("edu.berkeley.cs" %% "chisel" % chiselVersion) :: Nil; else Nil),
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test",
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % "test",
libraryDependencies += "org.scala-lang" % "scala-compiler" % scalaVer
)
lazy val rosetta_template = (project in file(".")).settings(rosettaSettings: _*).dependsOn(ProjectRef(uri("https://github.com/maltanar/fpga-tidbits.git#pynq"), "fpgatidbits"))