hnyman
January 10, 2023, 10:56am
3
It is really easy to download the compiled llvm toolchain from OpenWrt and expand it to the the buildroot. Additionally, you just need to set two config options in .config.
Thanks for the hint. That approach makes it really easy to include qosify in a build.
Documenting the steps for others:
download the llvm-bpf-13.0.0.tar.xz from your router's target downloads to your buildroot. E.g. https://downloads.openwrt.org/snapshots/targets/ipq806x/generic/llvm-bpf-13.0.0.tar.xz
extract the files into the buildroot: tar -xvf llvm-bpf-13.0.0.tar.xz
Change toolchain option to use a prebuilt LLVM toolchain, and enable qosify. I only needed to add these two lines in…
Currently it would be 15.0.6
E.g. for me:
llvm-bpf-15.0.6.Linux-x86_64.tar.xz
095575f5...
39225.3 KB
Tue Jan 10 01:41:03 2023
1 Like