I was able to compile it on my system, however it runs pretty bad.
Instructions here: https://github.com/libretro/mupen64plus-libretro/issues/243
Has anyone looked at the Raspberry Pi fork of this emu? It says that there are some optimizations made for arm. I’m going to try to compile the emulator without libretro but it’s worth looking into.