Build project icestorm in mac

Refer to https://clifford.at/icestorm

icestorm

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

arachne-pnr

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

nextpnr

git clone https://github.com/YosysHQ/nextpnr nextpnr
cd nextpnr
cmake .  -B build -DARCH=ice40 -DCMAKE_INSTALL_PREFIX=/usr/local
cd build
make -j$(nproc)
sudo make install
cd ../..

yosys

git clone https://github.com/YosysHQ/yosys.git yosys
cd yosys
git submodule update --init
make -j$(nproc)
sudo make install