diagrammer
diagrammer copied to clipboard
Is there binary release?
Hope for executable binary for ubuntu
One approach is to use coursier to grab a binary. Once you have the coursier command line tool, you have two options.
You can download diagrammer and all its dependencies and launch it immediately:
coursier \
launch \
edu.berkeley.cs:firrtl-diagrammer_2.12:1.2.0-RC1 \
--main-class dotvisualizer.FirrtlDiagrammer
Or, you can install a binary you can call later (here, -o diagrammer
is installing this in an executable called "diagrammer"):
coursier \
bootstrap \
edu.berkeley.cs:firrtl-diagrammer_2.12:1.2.0-RC1 \
--main-class dotvisualizer.FirrtlDiagrammer \
-o diagrammer
You can vary which version you grab by changing the Scala version (2.12 above) or the published version (1.2.0-RC1 above, 1.1.4 would be another option).
Another approach is to build an executable jar. I just tried it on an ubuntu system.
> git clone https://github.com/freechipsproject/diagrammer.git
> cd diagrammer
> sbt assembly
> history
> ls -l utils/bin
total 21152
-rwxr-xr-x 1 chick was-aspire-all 200 Apr 3 08:39 diagrammer*
-rw-r--r-- 1 chick was-aspire-all 21652822 Apr 3 08:42 diagrammer.jar
You can put that jar and script somewhere else or just add diagrammer/utils/bin to your path
One approach is to use coursier to grab a binary. Once you have the coursier command line tool, you have two options.
You can download diagrammer and all its dependencies and launch it immediately:
coursier \ launch \ edu.berkeley.cs:firrtl-diagrammer_2.12:1.2.0-RC1 \ --main-class dotvisualizer.FirrtlDiagrammer
Or, you can install a binary you can call later (here,
-o diagrammer
is installing this in an executable called "diagrammer"):coursier \ bootstrap \ edu.berkeley.cs:firrtl-diagrammer_2.12:1.2.0-RC1 \ --main-class dotvisualizer.FirrtlDiagrammer \ -o diagrammer
You can vary which version you grab by changing the Scala version (2.12 above) or the published version (1.2.0-RC1 above, 1.1.4 would be another option).
thx for your reply :)
Another approach is to build an executable jar. I just tried it on an ubuntu system.
> git clone https://github.com/freechipsproject/diagrammer.git > cd diagrammer > sbt assembly > history > ls -l utils/bin total 21152 -rwxr-xr-x 1 chick was-aspire-all 200 Apr 3 08:39 diagrammer* -rw-r--r-- 1 chick was-aspire-all 21652822 Apr 3 08:42 diagrammer.jar
You can put that jar and script somewhere else or just add diagrammer/utils/bin to your path
thx for your reply, it works!