diff options
| author | Jack Koenig | 2020-08-13 21:30:55 -0700 |
|---|---|---|
| committer | GitHub | 2020-08-13 21:30:55 -0700 |
| commit | 6ea6f61aa9ed7fa572fb74641a6943a940bd6b82 (patch) | |
| tree | 6617414fb2fe5e721dc7ea8c9b226af419318d71 /build.sc | |
| parent | 22c92b97beb3711790ea035337345e6e688fcc55 (diff) | |
Move treadle dependency to the tests (#1554)
Use inheritance to make TesterDriver Backend API extensible, then define
a TreadleBackend in the test project
Diffstat (limited to 'build.sc')
| -rw-r--r-- | build.sc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -97,9 +97,7 @@ class chisel3CrossModule(crossVersionValue: String) extends CommonModule with Pu def mainClass = Some("chisel3.stage.ChiselMain") - def ivyDeps = super.ivyDeps() ++ treadleIvyDeps - - override def moduleDeps = super.moduleDeps ++ Seq(macros, core) ++ treadleModule + override def moduleDeps = super.moduleDeps ++ Seq(macros, core) ++ firrtlModule object test extends Tests { private def ivyCrossDeps = majorVersion match { @@ -111,7 +109,9 @@ class chisel3CrossModule(crossVersionValue: String) extends CommonModule with Pu ivy"org.scalatest::scalatest:3.1.2", ivy"org.scalatestplus::scalacheck-1-14:3.1.1.1", ivy"com.github.scopt::scopt:3.7.1" - ) ++ ivyCrossDeps + ) ++ ivyCrossDeps ++ m.treadleIvyDeps + + override def moduleDeps = super.moduleDeps ++ treadleModule def testFrameworks = Seq("org.scalatest.tools.Framework") |
