-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
45 lines (40 loc) · 1.39 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
41
42
43
44
45
resolvers ++= Seq(
Resolver.sonatypeRepo("snapshots"),
Resolver.sonatypeRepo("releases")
)
val projLibraryDependencies = Seq(
"edu.berkeley.cs" %% "chisel3" % "3.+",
"org.easysoc" %% "layered-firrtl" % "1.1.+",
"edu.berkeley.cs" %% "firrtl" % "1.+",
"edu.berkeley.cs" %% "firrtl-diagrammer" % "1.+",
"edu.berkeley.cs" %% "chisel-iotesters" % "2.+" % "test"
)
val projScalacOptions = Seq(
"-Xsource:2.11",
// Enables autoclonetype2 in 3.4.x (on by default in 3.5)
"-language:reflectiveCalls",
"-unchecked",
"-deprecation",
"-feature",
"-Xcheckinit"
)
scalaVersion := "2.12.15"
lazy val hardfloat = (project in file("berkeley-hardfloat"))
.settings(
libraryDependencies ++= projLibraryDependencies,
scalacOptions ++= projScalacOptions,
publishArtifact := false,
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full),
addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % "3.+" cross CrossVersion.full)
)
lazy val root = (project in file("."))
.settings(
version := "6.1.1",
name := "PE_IP",
organization := "gig",
libraryDependencies ++= projLibraryDependencies,
scalacOptions ++= projScalacOptions,
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.full),
addCompilerPlugin("edu.berkeley.cs" % "chisel3-plugin" % "3.+" cross CrossVersion.full)
)
.dependsOn(hardfloat)