-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove chiseltest hack for peeking and poking FixedPoint
* Update sbt version to 1.8.2 * Update build.sbt
- Loading branch information
Showing
6 changed files
with
59 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -344,3 +344,6 @@ hs_err_pid* | |
|
||
# ignore lib from rocket build | ||
lib | ||
|
||
# bsp | ||
.bsp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "fixedpoint"] | ||
path = fixedpoint | ||
url = https://github.com/ucb-bar/fixedpoint | ||
url = https://github.com/ucb-bar/fixedpoint.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,17 +5,13 @@ enablePlugins(SiteScaladocPlugin) | |
enablePlugins(GhpagesPlugin) | ||
|
||
val defaultVersions = Map( | ||
"chisel3" -> "3.6-SNAPSHOT", | ||
"chiseltest" -> "0.6-SNAPSHOT" | ||
"chisel3" -> "3.6.0", | ||
"chiseltest" -> "0.6.2" | ||
) | ||
|
||
name := "dsptools" | ||
|
||
val commonSettings = Seq( | ||
organization := "edu.berkeley.cs", | ||
version := "1.6-SNAPSHOT", | ||
git.remoteRepo := "[email protected]:ucb-bar/dsptools.git", | ||
autoAPIMappings := true, | ||
scalaVersion := "2.13.10", | ||
scalacOptions ++= Seq("-encoding", | ||
"UTF-8", | ||
|
@@ -25,64 +21,68 @@ val commonSettings = Seq( | |
"-language:reflectiveCalls", | ||
"-Xfatal-warnings", | ||
"-Ymacro-annotations"), | ||
javacOptions ++= Seq("-source", "1.8", "-target", "1.8"), | ||
pomExtra := (<url>http://chisel.eecs.berkeley.edu/</url> | ||
<licenses> | ||
<license> | ||
<name>apache_v2</name> | ||
<url>https://opensource.org/licenses/Apache-2.0</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
<developers> | ||
<developer> | ||
<id>grebe</id> | ||
<name>Paul Rigge</name> | ||
<url>http://www.eecs.berkeley.edu/~rigge/</url> | ||
</developer> | ||
<developer> | ||
<id>shunshou</id> | ||
<name>Angie Wang</name> | ||
<url>https://www.linkedin.com/in/angie-wang-ee/</url> | ||
</developer> | ||
<developer> | ||
<id>chick</id> | ||
<name>Charles Markley</name> | ||
<url>https://aspire.eecs.berkeley.edu/author/chick/</url> | ||
</developer> | ||
</developers>), | ||
publishTo := { | ||
val v = version.value | ||
val nexus = "https://oss.sonatype.org/" | ||
if (v.trim.endsWith("SNAPSHOT")) { | ||
Some("snapshots".at(nexus + "content/repositories/snapshots")) | ||
} else { | ||
Some("releases".at(nexus + "service/local/staging/deploy/maven2")) | ||
} | ||
}, | ||
resolvers ++= Seq( | ||
Resolver.sonatypeRepo("snapshots"), | ||
Resolver.sonatypeRepo("releases") | ||
), | ||
resolvers ++= Resolver.sonatypeOssRepos("snapshots"), | ||
resolvers ++= Resolver.sonatypeOssRepos("releases"), | ||
libraryDependencies ++= { | ||
CrossVersion.partialVersion(scalaVersion.value) match { | ||
case Some((2, major)) if major <= 12 => Seq() | ||
case _ => Seq("org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.3") | ||
case _ => Seq("org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.4") | ||
} | ||
}, | ||
libraryDependencies ++= Seq("chisel3", "chiseltest").map { dep: String => | ||
libraryDependencies ++= Seq("chisel3").map { dep: String => | ||
"edu.berkeley.cs" %% dep % sys.props.getOrElse(dep + "Version", defaultVersions(dep)) | ||
}, | ||
addCompilerPlugin(("edu.berkeley.cs" %% "chisel3-plugin" % defaultVersions("chisel3")).cross(CrossVersion.full)), | ||
) | ||
|
||
val dsptoolsSettings = Seq( | ||
name := "dsptools", | ||
organization := "edu.berkeley.cs", | ||
version := "1.6-SNAPSHOT", | ||
git.remoteRepo := "[email protected]:ucb-bar/dsptools.git", | ||
autoAPIMappings := true, | ||
libraryDependencies ++= Seq( | ||
"org.typelevel" %% "spire" % "0.18.0", | ||
"org.scalanlp" %% "breeze" % "2.1.0", | ||
"org.scalatest" %% "scalatest" % "3.2.15" % "test" | ||
), | ||
libraryDependencies ++= Seq("chiseltest").map { dep: String => | ||
"edu.berkeley.cs" %% dep % sys.props.getOrElse(dep + "Version", defaultVersions(dep)) | ||
}, | ||
pomExtra := <url>http://chisel.eecs.berkeley.edu/</url> | ||
<licenses> | ||
<license> | ||
<name>apache_v2</name> | ||
<url>https://opensource.org/licenses/Apache-2.0</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
<developers> | ||
<developer> | ||
<id>grebe</id> | ||
<name>Paul Rigge</name> | ||
<url>http://www.eecs.berkeley.edu/~rigge/</url> | ||
</developer> | ||
<developer> | ||
<id>shunshou</id> | ||
<name>Angie Wang</name> | ||
<url>https://www.linkedin.com/in/angie-wang-ee/</url> | ||
</developer> | ||
<developer> | ||
<id>chick</id> | ||
<name>Charles Markley</name> | ||
<url>https://aspire.eecs.berkeley.edu/author/chick/</url> | ||
</developer> | ||
</developers>, | ||
publishTo := { | ||
val v = version.value | ||
val nexus = "https://oss.sonatype.org/" | ||
if (v.trim.endsWith("SNAPSHOT")) { | ||
Some("snapshots".at(nexus + "content/repositories/snapshots")) | ||
} else { | ||
Some("releases".at(nexus + "service/local/staging/deploy/maven2")) | ||
} | ||
}, | ||
) | ||
|
||
val fixedpointSettings = Seq( | ||
|
@@ -94,7 +94,7 @@ val fixedpointSettings = Seq( | |
|
||
publishMavenStyle := true | ||
|
||
publishArtifact in Test := false | ||
Test / publishArtifact := false | ||
pomIncludeRepository := { x => | ||
false | ||
} | ||
|
@@ -117,5 +117,5 @@ val dsptools = (project in file(".")) | |
.dependsOn(fixedpoint) | ||
//.enablePlugins(BuildInfoPlugin) | ||
.enablePlugins(ScalaUnidocPlugin) | ||
.settings(commonSettings: _*) | ||
.settings(dsptoolsSettings: _*) | ||
.settings(commonSettings) | ||
.settings(dsptoolsSettings) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.3.13 | ||
sbt.version=1.8.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters