summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorJack2022-01-12 04:27:19 +0000
committerJack2022-01-12 04:27:19 +0000
commit29df513e348cc809876893f650af8180f0190496 (patch)
tree06daaea954b4e5af7113f06e4bdbb78b33515cb3 /build.sbt
parent5242ce90659decb9058ee75db56e5c188029fbf9 (diff)
parent747d16311bdf185d2e98e452b14cb5d8ccca004c (diff)
Merge branch 'master' into 3.5-release
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt8
1 files changed, 7 insertions, 1 deletions
diff --git a/build.sbt b/build.sbt
index ee23f95a..6e33695d 100644
--- a/build.sbt
+++ b/build.sbt
@@ -218,7 +218,13 @@ lazy val chisel = (project in file(".")).
}
s"https://github.com/chipsalliance/chisel3/tree/$branch€{FILE_PATH_EXT}#L€{FILE_LINE}"
}
- )
+ ) ++
+ // Suppress compiler plugin for source files in core
+ // We don't need this in regular compile because we just don't add the chisel3-plugin to core's scalacOptions
+ // This works around an issue where unidoc uses the exact same arguments for all source files.
+ // This is probably fundamental to how ScalaDoc works so there may be no solution other than this workaround.
+ // See https://github.com/sbt/sbt-unidoc/issues/107
+ (core / Compile / sources).value.map("-P:chiselplugin:INTERNALskipFile:" + _)
)
// tests elaborating and executing/formally verifying a Chisel circuit with chiseltest