diff options
| author | Chick Markley | 2016-10-18 16:14:06 -0700 |
|---|---|---|
| committer | GitHub | 2016-10-18 16:14:06 -0700 |
| commit | bbc676b68a79ab2307d346c482d75b72f7ec5d4d (patch) | |
| tree | c5aa54b045e23320b07e164bc0758315ea139a2e /build.sbt | |
| parent | ed872df330cb7dfabdd0e0866176f8f5be8861da (diff) | |
| parent | 070a8d724b282d3866da530b5d99ce7646fbf00e (diff) | |
Merge pull request #325 from ucb-bar/execute-harness-plan-3
Implement a standardized execution scheme for chisel
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 27 |
1 files changed, 17 insertions, 10 deletions
@@ -21,6 +21,8 @@ lazy val commonSettings = Seq ( scalaVersion := "2.11.7" ) +val defaultVersions = Map("firrtl" -> "1.1-SNAPSHOT") + lazy val chiselSettings = Seq ( name := "chisel3", @@ -62,19 +64,24 @@ lazy val chiselSettings = Seq ( Resolver.sonatypeRepo("releases") ), - /* Bumping "com.novocode" % "junit-interface" % "0.11", causes DelayTest testSeqReadBundle to fail - * in subtly disturbing ways on Linux (but not on Mac): - * - some fields in the generated .h file are re-named, - * - an additional field is added - * - the generated .cpp file has additional differences: - * - different temps in clock_lo - * - missing assignments - * - change of assignment order - * - use of "Tx" vs. "Tx.values" - */ + libraryDependencies ++= (Seq("firrtl").map { + dep: String => "edu.berkeley.cs" %% dep % sys.props.getOrElse(dep + "Version", defaultVersions(dep)) }), + + +/* Bumping "com.novocode" % "junit-interface" % "0.11", causes DelayTest testSeqReadBundle to fail + * in subtly disturbing ways on Linux (but not on Mac): + * - some fields in the generated .h file are re-named, + * - an additional field is added + * - the generated .cpp file has additional differences: + * - different temps in clock_lo + * - missing assignments + * - change of assignment order + * - use of "Tx" vs. "Tx.values" + */ libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.5" % "test", libraryDependencies += "org.scala-lang" % "scala-reflect" % scalaVersion.value, libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.12.4" % "test", + libraryDependencies += "com.github.scopt" %% "scopt" % "3.4.0", // Tests from other projects may still run concurrently. parallelExecution in Test := true, |
