Sowmini Varadhan <sowmini05@xxxxxxxxx> writes: > On (04/25/20 14:56), Jesper Dangaard Brouer wrote: >> >> The kernel's samples/bpf/ should still builds with LLVM-9 (and lower). >> Follow instructions in the README.rst file[1]. >> >> There are pre-build Debian and Ubuntu packages for LLVM-10 here: >> https://apt.llvm.org/ > > thanks that helped me install llvm-10 > > However, after all my adventures, I end up with > # ls /usr/bin/llc* > /usr/bin/llc /usr/bin/llc-10 /usr/bin/llc-5.0 /usr/bin/llc-6.0 /usr/bin/llc-7 > and the default points at 6.0 so I had to go and tweak Makefile > to use clang-10 and llc-10 Note that you can just override them on the command line. E.g., make CLANG=clang-10 LLC=llc-10 -Toke