update barstools: move iocells to separate project root
Currently Chipyard is including `barstools.iocell` as a separate project from the rest of barstools, and it does this by creating a new project rooted at `src` with its source directory rooted at `src/main/scala/barstools/iocell`. This causes problems for IDEs like IntelliJ which do not support having one source root from one project nested inside another source root from a different project. By breaking out `barstools.iocell` into a separate project root, this should cause IDEs and similar tools to better understand the project structure, and makes it so that `iocell` is not in two projects at the same time.
This commit is contained in:
@@ -230,11 +230,7 @@ lazy val nvdla = (project in file("generators/nvdla"))
|
||||
.settings(libraryDependencies ++= rocketLibDeps.value)
|
||||
.settings(commonSettings)
|
||||
|
||||
lazy val iocell = Project(id = "iocell", base = file("./tools/barstools/") / "src")
|
||||
.settings(
|
||||
Compile / scalaSource := baseDirectory.value / "main" / "scala" / "barstools" / "iocell",
|
||||
Compile / resourceDirectory := baseDirectory.value / "main" / "resources"
|
||||
)
|
||||
lazy val iocell = Project(id = "iocell", base = file("./tools/barstools/") / "iocell")
|
||||
.settings(chiselSettings)
|
||||
.settings(commonSettings)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user