3 then echo "Please run as root using 'sudo bash'"
7 # this is a bit of a cheat, by relying on debian to pull in all the
8 # build dependencies. saves time researching how to get and list them
11 apt-get build-dep yosys
-y
12 apt-get remove yosys
-y
13 apt-get build-dep ghdl
-y # this is sort-of what ghdl-install does, hmmm
14 apt-get
install -y default-jre-headless python3-pip curl
15 python3
-m pip
install toml
17 mkdir
-p /home
/$SUDO_USER/src
18 cd /home
/$SUDO_USER/src
22 git clone https
://git.libre-soc.org
/git
/yosys.git
23 git clone https
://git.libre-soc.org
/git
/SymbiYosys.git sby
24 git clone https
://github.com
/SRI-CSL
/yices2.git
25 git clone https
://github.com
/Z3Prover
/z3.git
26 # XXX see ghdl-install this is really best done with that
27 git clone https
://github.com
/ghdl
/ghdl
28 git clone https
://github.com
/ghdl
/ghdl-yosys-plugin
29 # both of these need adding https://bugs.libre-soc.org/show_bug.cgi?id=883
30 git clone https
://github.com
/bitwuzla
/bitwuzla.git
31 git clone
-b cvc5-1.0
.1 https
://github.com
/cvc
5/cvc5.git cvc5
33 # yosys 0.13 has been found to be stable...
35 git checkout smtlib2-expr-support-on-0.13
40 # ... but things are in the middle of a transition so use this version of ghdl
42 git checkout
263c843ed49f59cb4cc3038bafcac2b9238ebad4
43 .
/configure
--with-llvm-config
47 # ...with this specific version of the yosys-ghdl-plugin
48 cd ..
/ghdl-yosys-plugin
49 git checkout c9b05e481423c55ffcbb856fd5296701f670808c
56 .
/configure.sh
--poly --auto-download
63 git checkout
19dd987a6e246990619751cca07996fac505fd0b
64 .
/contrib
/setup-cadical.sh
65 .
/contrib
/setup-btor2tools.sh
66 .
/contrib
/setup-symfpu.sh
72 # symbiyosys should be fine though
83 python
scripts
/mk_make.py
88 cd /home
/$SUDO_USER/src