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:
Michael Raskin 2012-05-31 11:04:28 +00:00
parent 83d7540add
commit 2de23edd59
2 changed files with 28 additions and 0 deletions

View 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;
};
}

View File

@ -2302,6 +2302,7 @@ let
};
llvm = callPackage ../development/compilers/llvm { };
llvm_3_1 = callPackage ../development/compilers/llvm/3.1.nix { };
mitscheme = callPackage ../development/compilers/mit-scheme { };