Adding LLVM 3.1. (as a separate attribute, because it seems to be API-incompatible)
svn path=/nixpkgs/trunk/; revision=34300
This commit is contained in:
parent
83d7540add
commit
2de23edd59
27
pkgs/development/compilers/llvm/3.1.nix
Normal file
27
pkgs/development/compilers/llvm/3.1.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchurl, perl, groff, cmake, python }:
|
||||||
|
|
||||||
|
let version = "3.1"; in
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "llvm-${version}";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://llvm.org/releases/${version}/llvm-${version}.src.tar.gz";
|
||||||
|
sha256 = "1ea05135197b5400c1f88d00ff280d775ce778f8f9ea042e25a1e1e734a4b9ab";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ perl groff cmake python ];
|
||||||
|
|
||||||
|
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://llvm.org/;
|
||||||
|
description = "Collection of modular and reusable compiler and toolchain technologies";
|
||||||
|
license = "BSD";
|
||||||
|
maintainers = with stdenv.lib.maintainers; [viric shlevy];
|
||||||
|
platforms = with stdenv.lib.platforms; all;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -2302,6 +2302,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
llvm = callPackage ../development/compilers/llvm { };
|
llvm = callPackage ../development/compilers/llvm { };
|
||||||
|
llvm_3_1 = callPackage ../development/compilers/llvm/3.1.nix { };
|
||||||
|
|
||||||
mitscheme = callPackage ../development/compilers/mit-scheme { };
|
mitscheme = callPackage ../development/compilers/mit-scheme { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user