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.
51 lines
956 B
51 lines
956 B
5 years ago
|
#!/bin/bash
|
||
|
|
||
|
set -x
|
||
|
|
||
|
cd icestorm && \
|
||
|
git pull && \
|
||
|
make clean && \
|
||
|
make -j$(nproc) && \
|
||
|
sudo make install || exit
|
||
|
cd ..
|
||
|
|
||
|
cd arachne-pnr && \
|
||
|
git pull && \
|
||
|
make clean && \
|
||
|
make -j$(nproc) && \
|
||
|
sudo make install || exit
|
||
|
cd ..
|
||
|
|
||
|
cd prjtrellis && \
|
||
|
git pull && \
|
||
|
cd libtrellis && \
|
||
|
make clean && \
|
||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr/local . && \
|
||
|
make -j$(nproc) && \
|
||
|
sudo make install || exit
|
||
|
cd ../..
|
||
|
|
||
|
cd nextpnr && \
|
||
|
git pull && \
|
||
|
make clean && \
|
||
|
#cmake -DARCH=ice40 -DCMAKE_INSTALL_PREFIX=/usr/local . && \
|
||
|
cmake -DARCH=ecp5 -DCMAKE_INSTALL_PREFIX=/usr/local . && \
|
||
|
make -j$(nproc) && \
|
||
|
sudo make install || exit
|
||
|
cd ..
|
||
|
|
||
|
cd yosys && \
|
||
|
git pull && \
|
||
|
make clean && \
|
||
|
make -j$(nproc) && \
|
||
|
sudo make install || exit
|
||
|
cd ..
|
||
|
|
||
|
cd openocd && \
|
||
|
git pull && \
|
||
|
make clean && \
|
||
|
make && \
|
||
|
sudo make install || exit
|
||
|
cd ..
|
||
|
|