From 3054cbd3f2d80ba04bd7142bbff122d314c8c167 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Sun, 13 Jan 2019 20:53:21 -0600 Subject: [PATCH] llvm: include BPF target too, otherwise can't build bcc --- pkgs/development/compilers/llvm/7/llvm.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/llvm/7/llvm.nix b/pkgs/development/compilers/llvm/7/llvm.nix index 6253162f254c..fa3252718761 100644 --- a/pkgs/development/compilers/llvm/7/llvm.nix +++ b/pkgs/development/compilers/llvm/7/llvm.nix @@ -15,7 +15,8 @@ , enableManpages ? false , enableSharedLibraries ? true # Mesa requires AMDGPU target -, enableTargets ? [ stdenv.hostPlatform stdenv.targetPlatform "AMDGPU" ] +# BPF is used by bcc +, enableTargets ? [ stdenv.hostPlatform stdenv.targetPlatform "AMDGPU" "BPF" ] , enablePFM ? !stdenv.isDarwin }: