diff options
| author | Jack Koenig | 2021-12-20 14:37:56 -0800 |
|---|---|---|
| committer | GitHub | 2021-12-20 14:37:56 -0800 |
| commit | df1b4aaf06cbca60bb48c3697d478dcdba48af36 (patch) | |
| tree | a75c1aea4b318698e1e2454ec080ac9282a2f00e /build.sbt | |
| parent | 3d5ae7eb746416f23683f83fc4280f4bd1170b43 (diff) | |
| parent | c4c82a9b3cb52e8f20ac14cc0d1c32331364ed68 (diff) | |
Merge pull request #2314 from chipsalliance/fix-unidoc
Fix unidoc
Diffstat (limited to 'build.sbt')
| -rw-r--r-- | build.sbt | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |
