generated from chipsalliance/chisel-template
-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.sc
32 lines (31 loc) · 824 Bytes
/
build.sc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// import Mill dependency
import mill._
import mill.define.Sources
import mill.modules.Util
import mill.scalalib.TestModule.ScalaTest
import scalalib._
// support BSP
import mill.bsp._
object HDMI extends SbtModule { m =>
override def millSourcePath = os.pwd
override def scalaVersion = "2.12.13"
override def scalacOptions = Seq(
"-Xsource:2.11",
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit",
)
override def ivyDeps = Agg(
ivy"edu.berkeley.cs::chisel3:3.5.0-RC1",
)
override def scalacPluginIvyDeps = Agg(
ivy"edu.berkeley.cs:::chisel3-plugin:3.5.0-RC1",
ivy"org.scalamacros:::paradise:2.1.1"
)
object test extends Tests with ScalaTest {
override def ivyDeps = m.ivyDeps() ++ Agg(
ivy"edu.berkeley.cs::chiseltest:0.5.0-RC1"
)
}
}