sys-devel/llvm: add BPF backend to compiled targets
authorMarco Leogrande <dark.knight.ita@gmail.com>
Wed, 9 Dec 2015 05:42:29 +0000 (21:42 -0800)
committerMarco Leogrande <dark.knight.ita@gmail.com>
Sat, 12 Dec 2015 21:46:24 +0000 (13:46 -0800)
As part of 3.7.* releases, LLVM has officially added support for the
BPF backend. This backend emits instructions in the eBPF language,
that is used in the homonymous Linux kernel virtual machine. Users of
LLVM can write a program in C and have it compiled directly into eBPF.

This commit adds support for compiling this backend unconditionally.

sys-devel/llvm/llvm-9999.ebuild

index 2f8afe7563401285417a669a88b81a9c07a1c1aa..d36085c8690b152862468bb8250c1b4e3bcea987 100644 (file)
@@ -215,7 +215,7 @@ multilib_src_configure() {
        if use multitarget; then
                targets=all
        else
-               targets='host;CppBackend'
+               targets='host;BPF;CppBackend'
                use video_cards_radeon && targets+=';AMDGPU'
        fi