You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
455 B
33 lines
455 B
5 years ago
|
#!/bin/bash
|
||
|
|
||
|
set -x
|
||
|
|
||
|
cd icestorm
|
||
|
make -j$(nproc)
|
||
|
sudo make install
|
||
|
cd ..
|
||
|
|
||
|
cd arachne-pnr
|
||
|
make -j$(nproc)
|
||
|
sudo make install
|
||
|
cd ..
|
||
|
|
||
|
cd prjtrellis
|
||
|
cd libtrellis
|
||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr/local .
|
||
|
make -j$(nproc)
|
||
|
sudo make install
|
||
|
cd ../..
|
||
|
|
||
|
cd nextpnr
|
||
|
#cmake -DARCH=ice40 -DCMAKE_INSTALL_PREFIX=/usr/local .
|
||
|
cmake -DARCH=ecp5 -DCMAKE_INSTALL_PREFIX=/usr/local .
|
||
|
make -j$(nproc)
|
||
|
sudo make install
|
||
|
cd ..
|
||
|
|
||
|
cd yosys
|
||
|
make -j$(nproc)
|
||
|
sudo make install
|
||
|
cd ..
|