Usually compile from source take hours ( basically due to tools/llvm-bpf ). I tried downloading the SDK and decompressing the build_dir and staging_dir inside the git source directory so that lvm-bpf would not need to be compiled, but apparenly the build from source still compils the llvm-bpf. Is there anyway to make that work?
Don't build it?
CONFIG_BPF_TOOLCHAIN_HOST_PATH="/usr/lib/llvm-19"
CONFIG_USE_LLVM_HOST=y
and people tend to change build parameters when building their own.
Don't build it?
Very funny
I have some custom packages that for some odd reason do not compile using the sdk only. And since I will have to compile the source completely I add several applets to busybox.
CONFIG_BPF_TOOLCHAIN_HOST_PATH="/usr/lib/llvm-19" CONFIG_USE_LLVM_HOST=y
and people tend to change build parameters when building their own.
Thank you very much!
Colour me confused? It takes hours to build llvm, so do not do that. download whatever version and point at the install. Or not if you like building things.
1 Like
You can download the compiled llvm for your target even if you otherwise compile everything from sources for the full toolchain...