tce-load -i compiletc cmake alsa-dev wget https://github.com/PortMidi/portmidi/archive/refs/tags/v2.0.3.tar.gz cd portmidi-2.0.3 mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe -fno-exceptions -fno-rtti -DNDEBUG" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DCMAKE_INSTALL_LIBDIR=lib ../ make [0m 0.81s] sudo make install sudo ln -s libportmidi.so.2.0.3 libporttime.so