-
Notifications
You must be signed in to change notification settings - Fork 25
/
build.sbt
37 lines (30 loc) · 918 Bytes
/
build.sbt
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
33
34
35
36
name := "constellation"
version := "0.1"
scalaVersion := "2.13.10"
scalacOptions ++= Seq(
"-language:reflectiveCalls",
"-deprecation",
"-feature"
)
val standalone = sys.env.get("CONSTELLATION_STANDALONE").isDefined
// SNAPSHOT repositories
libraryDependencies ++= (if (standalone) {
Seq(
"edu.berkeley.cs" %% "rocketchip" % "1.6.0",
"edu.berkeley.cs" %% "cde" % "1.6.0",
"edu.berkeley.cs" %% "rocket-macros" % "1.6.0",
"edu.berkeley.cs" %% "chiseltest" % "0.5.4" % "test"
)
} else {
Nil
})
addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin"
% (if (standalone) "3.5.6" else "3.5.6") cross CrossVersion.full)
import Tests._
Test / fork := true
Test / testGrouping := (Test / testGrouping).value.flatMap { group =>
group.tests.map { test =>
Group(test.name, Seq(test), SubProcess(ForkOptions()))
}
}
concurrentRestrictions := Seq(Tags.limit(Tags.ForkedTestGroup, 72))