-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Alex Hoffman edited this page Nov 15, 2023
·
14 revisions
sudo pacman -S python-pip python-virtualenv
sudo pacman -S boost graphviz doxygen ncurses zlib texinfo unzip dtc tree gcc
sudo pacman -S ninja
Pending testing
yay llvm11-minimal
yay llvm11-libs-minimal
Clone mlonmcu.
git clone https://github.com/tum-ei-eda/mlonmcu.git
Install requirements
cd mlonmcu
python3 -m pip install -r requirements.txt
python3 -m pip install tflite
From the mlonmcu repo run
python -m mlonmcu.cli.main init
Setup mlonmcu
python -m mlonmcu.cli.main setup
Next generate the requirements_addition.txt by running
python -m mlonmcu.cli.main setup -g
then install additional pip requirements for the venv, run
python -m pip install -r $MLONMCU_HOME/requirements_addition.txt
If ETISS complains about LLVM of TCC compilers, edit $MLONMCU_HOME/deps/src/etiss/JITImpl/CMakeLists.txt and comment the two out before running. Then in $MLONMCU_HOME/environment.yml add etiss.jit: GCC to the vars section at the end of the file.
python -m mlonmcu.cli.main setup
Edit $MLONMCU_HOME/environment.yml and set muriscvnn to false