Kestrel-3

Install IceStorm on VoidLinux
Login

Installing Project IceStorm on Void Linux

The documentation on the Project IceStorm web page and its corresponding GitHub resources are helpful only if you use a Debian-derived Linux distribution, such as Ubuntu. However, not everyone does. While I can't help you if you're using a Fedora/RedHat-derived distribution, since I prefer VoidLinux these days, I can help with that platform.

The instructions below are intended to be useful with simple cut-and-paste.

Installing

The variable nproc refers to the number of CPUs your computer has. It's always safe to assume nproc is 1, in which case you can simplify by using make instead of the longer variant.

sudo bash
xbps-install -Suv clang bison flex readline-devel \
                  gawk tcl-devel libffi-devel git mercurial graphviz-devel \
                  xdot pkg-config python python3 libftdi1-devel libusb-devel

git clone https://github.com/cliffordwolf/icestorm.git icestorm
cd icestorm
$EDITOR config.mk
# alter the CFLAGS and CXXFLAGS variables by appending -I/usr/local/libftdi1.
# Then, save and exit.
make -j$(nproc)
sudo make install

git clone https://github.com/cseed/arachne-pnr.git arachne-pnr
cd arachne-pnr
make -j$(nproc)
sudo make install

git clone https://github.com/cliffordwolf/yosys.git yosys
cd yosys
make -j$(nproc)
sudo make install