mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
llvm: add lldb
llvm missing lld in Fedora result in bpf selftest build error for liburandom_read.so [0], LoongFire build does not build kernel bpf selftests, but still it is better to add llvm lld in LoongFire build environment in case future eBPF apps require llvm lld. [0]: https://lore.kernel.org/loongarch/8f375e63-c4d5-b9cc-64c4-7563ba5c2763@loongson.cn/ Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
@@ -73,7 +73,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
|
||||
cd $(DIR_APP)/llvm && mkdir build
|
||||
cd $(DIR_APP)/llvm/build && cmake .. -G "Ninja" -DLLVM_TARGETS_TO_BUILD="BPF;LoongArch" \
|
||||
-DLLVM_ENABLE_PROJECTS="clang" \
|
||||
-DLLVM_ENABLE_PROJECTS="clang;lldb" \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DLLVM_BUILD_RUNTIME=OFF \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
|
||||
Reference in New Issue
Block a user