-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
40 lines (36 loc) · 1.21 KB
/
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
37
38
39
40
import sbt.Keys.libraryDependencies
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / scalaVersion := "2.12.12"
lazy val root = (project in file("."))
.settings(
name := "FPUv2",
libraryDependencies ++= Seq(
"edu.berkeley.cs" %% "chisel3" % "3.5.3",
"edu.berkeley.cs" %% "chiseltest" % "0.5.3" % "test"
),
scalacOptions ++= Seq(
"-Xsource:2.11",
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit"
),
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full),
addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % "3.5.3" cross CrossVersion.full)
).dependsOn(fudian)
lazy val fudian = (project in file("./fudian"))
.settings(
libraryDependencies ++= Seq(
"edu.berkeley.cs" %% "chisel3" % "3.5.3",
"edu.berkeley.cs" %% "chiseltest" % "0.5.3" % "test"
),
scalacOptions ++= Seq(
"-Xsource:2.11",
"-language:reflectiveCalls",
"-deprecation",
"-feature",
"-Xcheckinit"
),
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full),
addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % "3.5.3" cross CrossVersion.full)
)