-
Notifications
You must be signed in to change notification settings - Fork 603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mill support for Chisel3 #1035
Mill support for Chisel3 #1035
Conversation
Still some problems building source and doc jars, largely due to relative paths.
- need to specify mainClass - mill should figure it out on its own - manifest isn't complete - javaDoc is missing version info, some javascript, and differs from sbt generated javaDoc, but it doesn include core and internal documentation - ivys are missing description, configurations, scala dependencies - poms use artifactId for name (instead of descrption), license is BSD-3-Clause, developer is missing url, dependencies are missing scala dependencies, but include a dependency on the library itself(!).
Move common code into CommonBuild.sc Remove extra ThisBuildInfo trait Override publishXmlDeps() to avoid generating a self-dependency (since our dependent modules don't really have their own identity and end up duplicating PublishChiselModule
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good @edwardcwang. I'm getting test failures with the make mill.test.all
target. I'm trying to sort that out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I edited the Makefile
to fetch the official mill-0.3.5, and edited build.sc
to use the same Scala versions as sbt does. If you're happy with these changes, go ahead and commit this.
@ucbjrl Thank you so much for looking into this! Let me test this out and I'll get back to you. |
This appears to work; will go ahead and squash-merge this. |
…ng. (#1035) * Add --nodedup option to facilitate FIRRTL to verilog regression testing. * Short-circuit the DedupModules transform if NoCircuitDedupAnnotation exists.
Type of change: feature
Impact: no functional change
Development Phase: implementation
Release Notes: Support mill in Chisel3.