It's just a Debian distro, so you have a few options, in descending order of convenience:
- see if the compiler version is available via debian backports*
- download pre-built aarch64-linux binaries from here and update the CLANG_PATH or CXX in the Makefile (this can be done, e.g.: by adding a file
CustomMakefileTop.in in /root/Bela containing CLANG_PATH=/path/to/clang+llvm-18.1.8-aarch64-linux-gnu/bin/clang).
- do a full Debian distro upgrade to the most recent Debian distro that supports the compiler of choice. This may break some packages (e.g.: our custom kernel?) that may have to be fixed afterwards *
* These options require the board to be connected to the internet, either via a dongle or by internet sharing from the host