Open escou64 opened 4 years ago
Investigation is currently underway into more official techniques to support switching chisel dependencies between source-based and published-jar-based alternatives. Development of sbt-chisel-dep is suspended pending the outcome of this investigation.
@escou64 I wanted to let you know that a better way of handling this was merged in https://github.com/freechipsproject/chisel3/pull/1563 and it has a short description in the README: https://github.com/freechipsproject/chisel3#building-chisel-with-firrtl-in-the-same-sbt-project
I'm currently trying to use subprojects as described in the skeleton branch and with sbt-chisel-dep. Here is the hierarchy of my projetc and an example of build.sbt:
In subproj2/src/test/scala, I have a ChiselFlatSpec tester hat I run with the sbt command 'testOnly subproj2.Tester'. But, when I launch it from the myproj directory, it seems to check all the different subproject before launch it:
It it is not a major problem at the moment (I only have two sub-projects), it could be penalizing if this number increases. Do you know what this could be due to? Maybe the management of ChiselFlatSpec is not compatible the subprojects or have I badly configured my build.sbt?