diff options
author | Orivej Desh <orivej@gmx.fr> | 2019-01-15 04:59:49 +0000 |
---|---|---|
committer | Orivej Desh (NixOS) <40807862+orivej-nixos@users.noreply.github.com> | 2019-01-15 04:59:49 +0000 |
commit | d6f401e132ebc9083c64dc2d7a7574344c49a9c9 (patch) | |
tree | ba480d205cb1b2c9f5b2f33aeacde81bfd9aa7ad /pkgs/development/compilers/llvm/7/llvm.nix | |
parent | 263bc89c1bf86f16a70e2ef374cb8ba08b1340bd (diff) |
llvm_6, llvm_7: build all default targets (#53941)
This makes LLVM tools (including dependent tools such as LLD) readily useful in
more situations, foresees such needed additions as BPF and NVPTX, and brings
llvm_6 and newer on par with the current default llvm_5.
Diffstat (limited to 'pkgs/development/compilers/llvm/7/llvm.nix')
-rw-r--r-- | pkgs/development/compilers/llvm/7/llvm.nix | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pkgs/development/compilers/llvm/7/llvm.nix b/pkgs/development/compilers/llvm/7/llvm.nix index fa3252718761..50643f233225 100644 --- a/pkgs/development/compilers/llvm/7/llvm.nix +++ b/pkgs/development/compilers/llvm/7/llvm.nix @@ -14,9 +14,6 @@ , debugVersion ? false , enableManpages ? false , enableSharedLibraries ? true -# Mesa requires AMDGPU target -# BPF is used by bcc -, enableTargets ? [ stdenv.hostPlatform stdenv.targetPlatform "AMDGPU" "BPF" ] , enablePFM ? !stdenv.isDarwin }: @@ -29,9 +26,6 @@ let shortVersion = with stdenv.lib; concatStringsSep "." (take 1 (splitString "." release_version)); - inherit - (import ../common.nix { inherit (stdenv) lib; }) - llvmBackendList; in stdenv.mkDerivation (rec { name = "llvm-${version}"; @@ -89,7 +83,6 @@ in stdenv.mkDerivation (rec { "-DLLVM_ENABLE_RTTI=ON" "-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}" "-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.targetPlatform.config}" - "-DLLVM_TARGETS_TO_BUILD=${llvmBackendList enableTargets}" "-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly" "-DLLVM_ENABLE_DUMP=ON" ] ++ optionals enableSharedLibraries [ |