Open abejgonzalez opened 5 years ago
If I understand correctly, a somewhat brute-force way to do this would be to use unmanaged dependencies:
lib/
dir to all your projects (be sure to .gitignore them!)I think it's bad to add more make to my scala, but i think it's an option.
Perhaps the better way to go is to not invoke firrtl/barstools separately- just invoke chisel one time and produce firrtl, conf, verilog, etc from one sbt invocation. I think that's the better approach.
My read is that if we are going to resort to building projects independently we should just go all in on wake
. But to you earlier point, I think adding jars as unmanagedDeps to these projects that only need access to resources is the right call and doable from SBT, should we be so inclined.
See #171
When you run the FIRRTL/barstools compiler, it needs to depend on all SBT projects that do an
addResources
orsetResources
call (needs to add the other SBT projects to the compiler classpath in order to accesssrc/main/resources
folder on agetResourceAsStream
call). However, this causes the compiler to be rebuilt everytime one of the other projects changes... which is unnecessary since the compiler only depends on FIRRTL and Chisel.Is there an effective solution to remove the compile dependency but leave the "I must build the other projects first" dependency?