anchor.diff:      gtkwave \
       java-commons-io \
       java-environment \
  +    libftdi \
  +    mercurial \
       python-pint \
       sbt \
       scala \
       scons \
  +    tcl \
       && \
       pacman --noconfirm -Scc # Clean pacman cache before committing
   
  
positive.code: USER root
  RUN pacman -U --noconfirm chisel-git/chisel-git*pkg*
  
  
  # Assume user is going to be mounting his local repo at /mnt/turborav
  WORKDIR /mnt/turborav/hw
  
negative.code: # git               # Retrieves external dependencies
  # java-commons-io   # Makes it easier to manipulate files from Scala
  # java-environment  # Creates jars
  # libftdi           # Needed by icestorm to flash netlists
  # mercurial         # Needed by Yosys when installing abc
  # python-pint       # Does unit conversion for statistics like slice usage
  # sbt               # Builds Chisel
  # scala             # Runs Chisel programs
  # scons             # Builds turborav
  # tcl               # Needed by Yosys
  
  
  # Download the RISC-V toolchain from github and build from source
  