Merge pull request #53920 from dtzWill/fix/llvm-bpf-target

llvm_{6,7}: enable BPF target, fix bcc
This commit is contained in:
Jörg Thalheim 2019-01-14 14:55:40 +00:00 committed by GitHub
commit f64843f0f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -13,9 +13,10 @@
, fetchpatch
, debugVersion ? false
, enableManpages ? false
# Mesa requires AMDGPU target
, enableTargets ? [ stdenv.hostPlatform stdenv.targetPlatform "AMDGPU" ]
, enableSharedLibraries ? true
# Mesa requires AMDGPU target
# BPF is used by bcc
, enableTargets ? [ stdenv.hostPlatform stdenv.targetPlatform "AMDGPU" "BPF" ]
}:
let

View File

@ -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
}: