mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-22 21:08:08 -04:00
fixes to installer script
This commit is contained in:
parent
b522bcc081
commit
8d6a58f2cf
1 changed files with 7 additions and 3 deletions
|
@ -1,15 +1,19 @@
|
|||
export RISCV=/opt/riscv
|
||||
export PATH=$PATH:$RISCV/bin
|
||||
|
||||
NUM_THREADS=4
|
||||
set -e # break on error
|
||||
|
||||
NUM_THREADS=1
|
||||
|
||||
sudo mkdir -p $RISCV
|
||||
|
||||
# UPDATE / UPGRADE
|
||||
apt update
|
||||
#apt update
|
||||
|
||||
# INSTALL
|
||||
apt install -y git gawk make texinfo bison flex build-essential python3 libz-dev libexpat-dev autoconf device-tree-compiler ninja-build libpixman-1-dev build-essential ncurses-base ncurses-bin libncurses5-dev dialog curl wget ftp libgmp-dev
|
||||
#apt install -y git gawk make texinfo bison flex build-essential python3 libz-dev libexpat-dev autoconf device-tree-compiler ninja-build libpixman-1-dev build-essential ncurses-base ncurses-bin libncurses5-dev dialog curl wget ftp libgmp-dev
|
||||
|
||||
ln -sf /usr/bin/python3 /usr/bin/python # this is unforunate. gcc needs python but it looks specifically for python and not python3 or python2.
|
||||
|
||||
# gcc cross-compiler
|
||||
cd $RISCV
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue