forked from riscv-boom/riscv-boom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sc
31 lines (28 loc) · 777 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
// import Mill dependency
import mill._
import mill.define.Sources
import mill.modules.Util
import mill.scalalib.TestModule.ScalaTest
import $ivy.`com.lihaoyi::mill-contrib-bloop:`
import scalalib._
// support BSP
import mill.bsp._
object boom extends ScalaModule { m =>
override def millSourcePath = os.pwd
override def scalaVersion = "2.13.10"
override def scalacOptions = Seq(
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit",
"-P:chiselplugin:genBundleElements"
)
override def ivyDeps = Agg(
ivy"edu.berkeley.cs::chisel3:3.5.6",
ivy"edu.berkeley.cs::rocketchip:1.6.0",
ivy"ch.epfl.scala::bloop-config:1.5.5"
)
override def scalacPluginIvyDeps = Agg(
ivy"edu.berkeley.cs:::chisel3-plugin:3.5.6",
)
}